-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pull and push a specific tagged docker image? #299
Comments
I am having the same issue here with a similar configuration
Concourse always tries to push "myregistry/myimage:latest" even though the tag is specified in the tag_file. UPDATE: It seems the resource is always appending |
When the image pulled in docker-image-resource/assets/in Line 56 in a8be31e
And when it got saved with the name that with digest only, it loses repo and tag info docker-image-resource/assets/in Line 72 in a8be31e
So later when you load this tar in put step, I'd assume the
So there is no way it can know what the repo ad tag are, and thus we have to make |
I am trying to use this Concourse CI resource to pulling specific "tagged" docker image.
I tried working out a solution using both https://github.com/concourse/registry-image-resource and https://github.com/concourse/docker-image-resource.
From the documentation, I dont see a way to achieve it.
In the below approach, Its declared as a resource and the tag remains same for rest of the execution.
What I would like to achieve is, when declaring multiple steps, I would like to do something as below.
Right now... i am unable to provide something like above. It always ends up pulling the latest image.
I tried the params such as "load", "load_file", "load_tag". But no luck
Any directions?
The text was updated successfully, but these errors were encountered: