New boolean input tag_with_latest
See original GitHub issueNew boolean input tag_with_latest
It would add the ability for users to better set when to push as latest
, such as evaluating an expression for example.
Example: tag as latest
when push git tags
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: felipecassiors/argbash-test
add_git_labels: true
# Only push as latest when push a git tag
tag_with_latest: ${{ startsWith(github.ref, 'refs/tags/') }}
tag_with_ref: true
tag_with_sha: true
Usage with tag_with_ref
If tag_with_latest
property is defined alongside tag_with_ref
, then the strategy of push as latest when the branch is master from tag_with_ref
should be ignored.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
What is the syntax for boolean attributes, e.g. a checked ...
Let boolean be a boolean attribute of tag tag , like checked and <input type="checkbox" . The following are valid, equivalent and true:...
Read more >How To Use HTML5 Input Types | DigitalOcean
Let's go over all the possible HTML input types; from the default text ... autofocus - boolean to indicate if the input should...
Read more ><input>: The Input (Form Input) element - HTML
(Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what, if any, type of ...
Read more >Boolean inputs are not actually booleans · Issue #1483 - GitHub
Boolean type inputs do not work as expected; they are strings instead of booleans, even when surrounded by ${{ }} (e.g. in a...
Read more >HTML input checked Attribute - W3Schools
The checked attribute is a boolean attribute. When present, it specifies that an <input> element should be pre-selected (checked) when the page loads....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I usually publish bleeding-edge changes of the
master
branch withmaster
tag and reserve thelatest
for when the repo is tagged. This way, people who pull my images without explicit tags can always get something that I explicitly released.latest
tagSolved by #119. See https://github.com/docker/build-push-action#complete-workflow