concourse / concourse/docker-image-resource
Image get does not set the tag after the image is pulled by SHA
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 162
- Forks
- 250
- PR merge metrics
- No merged PRs in 30d
Description
When an image is pulled it is pulled by SHA which is right because this is how it is versioned. It is not tagged after that though which makes it impossible to be referred to from the cache.
Using docker such command will resolve the issue:
docker image tag <IMAGE_ID> :
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the image-pull path that retrieves the image by SHA and compare its resulting reference with the requested repository and tag. Verify the equivalent of docker image tag <IMAGE_ID> <REPOSITORY>:<TAG> is performed, then confirm the pulled image can be referred to from the cache.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100