apisix-docker icon indicating copy to clipboard operation
apisix-docker copied to clipboard

Avoid affecting latest image when pushing a LTS image

Open spacewander opened this issue 2 years ago • 6 comments

Currently, triggering an image push action in the CI will always push the image as the latest image if the type of the image is Debian.

This will bring us trouble if we are going to release an LTS image. We need to have a mechanism to distinguish these two kinds of images. For example, we can check the patch version number when pushing the latest image.

spacewander avatar Sep 27 '22 02:09 spacewander

So, we need to know which versions are LTS in this repo?

tokers avatar Sep 27 '22 09:09 tokers

We don't need to know LTS. We just need to filter out all the patch releases.

spacewander avatar Sep 28 '22 05:09 spacewander

We don't need to know LTS. We just need to filter out all the patch releases.

Got it. Distinguish the patch part in the semantic version?

tokers avatar Sep 28 '22 09:09 tokers

Yes

spacewander avatar Sep 29 '22 05:09 spacewander

good job !

Hazel6869 avatar Sep 29 '22 09:09 Hazel6869

@Hazel6869 Would you like to do this? Thanks!

tokers avatar Sep 29 '22 11:09 tokers