Skip to content

Commit d8fcdcc

Browse files
committed
bigfix: Add flavor setting to disable "latest" and "debug" tags in deployment workflow
1 parent 1b9d7c9 commit d8fcdcc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ jobs:
9393
# Only create tags derived from the Git tag.
9494
# No floating tags (like "latest") are generated here.
9595
type=ref,event=tag
96+
flavor: |
97+
latest=false
98+
debug=false
9699
97100
# Authenticate to Docker Hub so the workflow can push images.
98101
- name: Login to Docker Hub
@@ -179,6 +182,9 @@ jobs:
179182
${{ env.GHCR_IMAGE }}
180183
tags: |
181184
type=raw,value=${{ github.event.inputs.tag }}
185+
flavor: |
186+
latest=false
187+
debug=false
182188
183189
# Extract only the tag portion from metadata-action output of the tag.
184190
- name: Extract normalized tag only
@@ -205,6 +211,9 @@ jobs:
205211
${{ env.GHCR_IMAGE }}
206212
tags: |
207213
type=raw,value=${{ github.event.inputs.promote_name }}
214+
flavor: |
215+
latest=false
216+
debug=false
208217
209218
# Extract only the promote name portion from metadata-action output of the floating tag.
210219
- name: Extract normalized promote tag

0 commit comments

Comments
 (0)