concourse / concourse/docker-image-resource
Unable to specify tag constant
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 162
- Forks
- 250
- PR merge metrics
- No merged PRs in 30d
Description
I am unable to specify a tag constant and there seems to be no way of doing it without specifying a file. I get errors such as:
tag file 'master' does not exist
if I use the following syntax
- put: my-docker-image
params:
tag: master
build: myapi
build_args:
foo: bar
I need to be able to able to tag an image with a specific tag, but having to create a file for this purpose adds extra complexity to the configuration.
Is there a way to tag a put step without creating using a file? Or do I have specify this in a different location?
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 with the put-step configuration and tag behavior shown in the issue, then locate the docker-image resource's handling of tag values and its existing tests or documentation. Implement constant tags without requiring a file, and verify that the shown configuration tags the image as requested while existing tag-file behavior still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100