Skip to content

Commit f67299f

Browse files
authored
Merge the "bugfix/disable-implicit-docker-tags" branch into the "develop" branch
This merge updates `.github/workflows/deployment.yml` to disable implicit `latest` and `debug` tag generation in every `docker/metadata-action@v5` invocation used by the deployment workflow. The workflow now sets explicit metadata flavors so only the intended release and promotion tags are produced. In `Docker meta (version tags + labels)`, `Normalize tag (match tag)`, and `Normalize promote name (floating tag)`, the workflow now adds a `flavor:` block with `latest=false` and `debug=false`. This prevents `docker/metadata-action@v5` from generating implicit extra tags while preserving the existing explicit `type=ref,event=tag` and `type=raw,value=...` tag definitions. This keeps deployment tag generation constrained to the configured release tag and manual promotion inputs. No other files or workflow jobs are modified by this merge.
2 parents 1b9d7c9 + d8fcdcc commit f67299f

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)