Closed lonix1 closed 1 year ago
Does the registry actually contain gitea.example.com/my-org/my-repo:0
or gitea.example.com/my-org/my-repo:0.1
? When you run docker pull gitea.example.com/my-org/my-repo:0
, docker isn't going to parse that tag as semver and look for the newest version matching that major, it will literally just try to pull that exact tag.
If you want to be able to pull gitea.example.com/my-org/my-repo:0
and gitea.example.com/my-org/my-repo:0.1
, you need to also publish your image under those two tags as well.
The reason you can pull woodpeckerci/plugin-git:2
is because it actually exists.
Can you point me to your dockerhub image?
docker isn't going to parse that tag as semver ... it will literally just try to pull that exact tag.
That was the issue... Thanks for that nuanced bit of docker wisdom, you are the boss!
Component
server
Describe the bug
My
woodpecker.yml
:For
my-step-1
andmy-step-2
I get:It only works when I specify the full semver
major.minor.patch
format - I cannot specify onlymajor
. But for plugins from github and codeberg I can specify onlymajor
.System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]