Skip to content

Commit a41e7ca

Browse files
committed
fix: disable generation of latest tag
Latest tag is not something we use and its use is discouraged. Also, dependent jobs expect that this action only ever creates one tag per image, and creating latest as well as a named tag breaks that assumption.
1 parent 3f1692a commit a41e7ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ runs:
6060
with:
6161
# list of Docker images to use as base name for tags
6262
images: ${{ inputs.images }}
63+
flavor: |
64+
latest=false
6365
# generate Docker tags based on the following events/attributes
6466
tags: |
6567
type=sha,prefix=${{inputs.tag-prefix}}${{env.BRANCH_NAME}}-${{env.DATE}}-${{github.run_number}}-,enable=${{ !startsWith(github.event_name, 'release') }}

0 commit comments

Comments
 (0)