Missing high-level features from v1 in v2 like `tag_with_ref` and `add_git_labels`
See original GitHub issueThe utility in using the action to me, over just running the docker
commands manually, was in the high-level interface offered by helpers in v1
like:
add_git_labels
tag_with_sha
tag_with_ref
These all appear to have disappeared in v2
. Are these planned to be brought back?
Doing:
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: user/app:latest
Doesn’t provide a huge benefit over:
- name: Build and push
run: |
docker buildx build --push user/app:latest .
Compared to implementing any of the following which requires lots of logic and loops.
add_git_labels
tag_with_sha
tag_with_ref
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:8 (3 by maintainers)
Top Results From Across the Web
No results found
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 published a
tag_with_sha
andtag_with_ref
like action 😃https://github.com/marketplace/actions/generate-smart-tag-for-docker-images
@itzg @docwhat I have added tags through git ref and OCI Image Format Specification labels example to #119. See https://github.com/crazy-max/docker-build-push-action/blob/dbdfd86c1d1e402adeb2c6f293275ae35d99e982/README.md#tags-and-labels-handling.