Skip to content

Commit 890b06b

Browse files
authored
Merge the "bugfix/disable-implicit-docker-tags" branch into the "develop-v1+node24" branch
This merge updates `.github/workflows/deployment.yml` on the `develop-v1+node24` line to disable implicit Docker metadata tag generation in every `docker/metadata-action@v5` invocation used by the deployment workflow. The workflow now adds explicit `flavor:` configuration so release and promotion metadata only emit the intended tags instead of generating an implicit `latest` tag. In `Extract metadata (tags, labels)`, the workflow now adds `flavor:` with `latest=false` so tag builds only emit the explicit version tag derived from `type=ref,event=tag`. In `Normalize tag (match tag)` and `Normalize promote name (floating tag)`, it adds the same `flavor:` setting so manual promotion source and destination normalization only emit the explicit `workflow_dispatch` tag inputs. No other files or workflow jobs are modified by this merge.
2 parents d01980a + 64ca2a4 commit 890b06b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ 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
9698
9799
# Authenticate to Docker Hub so the workflow can push images.
98100
- name: Login to Docker Hub
@@ -179,6 +181,8 @@ jobs:
179181
${{ env.GHCR_IMAGE }}
180182
tags: |
181183
type=raw,value=${{ github.event.inputs.tag }}
184+
flavor: |
185+
latest=false
182186
183187
# Extract only the tag portion from metadata-action output of the tag.
184188
- name: Extract normalized tag only
@@ -205,6 +209,8 @@ jobs:
205209
${{ env.GHCR_IMAGE }}
206210
tags: |
207211
type=raw,value=${{ github.event.inputs.promote_name }}
212+
flavor: |
213+
latest=false
208214
209215
# Extract only the promote name portion from metadata-action output of the floating tag.
210216
- name: Extract normalized promote tag

0 commit comments

Comments
 (0)