woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.89k stars 346 forks source link

Docker Tag vX.X not working #3131

Open dR3b opened 6 months ago

dR3b commented 6 months ago

Component

other

Describe the bug

The docker tag vX.X (v2.1) (details: https://woodpecker-ci.org/docs/administration/deployment/docker-compose#docker-images) does not work.

Additional context

docker pull woodpeckerci/woodpecker-server:v2.1-alpne
Error response from daemon: manifest for woodpeckerci/woodpecker-server:v2.1-alpne not found: manifest unknown: manifest unknown

Validations

qwerty287 commented 6 months ago

I think instead of fixing this, we should just remove it from the docs and drop support for it.

You can use latest to get the latest release, and since there are no backports, you won't miss a release.

dR3b commented 6 months ago

I don't think that's a good idea. If there is a release 3.0 later, I'll get this version straight away without a warning! I have no problem with automatic updates of the patch version or even minor, but mayor is a no-go.

pat-s commented 6 months ago

@qwerty287 Using auto_tag of the buildx plugin should take care of this automatically - or a slight modification of the manifest template. It doesn't cost anything and the usefulness by @dR3b is well described.

dR3b commented 5 months ago

Is there any status update?

pat-s commented 5 months ago

Not yet, somebody would need to add the auto_tag to all docker release builds. PR welcome :)