Skip to content

Commit 8d4bcf7

Browse files
cosmo0920edsiper
authored andcommitted
workflows: Retrieve the actual target image with tag
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 945d81a commit 8d4bcf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/staging-release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,10 @@ jobs:
595595
TAG: ${{ matrix.tag }}
596596
shell: bash
597597

598+
# Pulling the actual image with tag is needed here.
598599
- name: Promote container images from staging to GHCR.io
599600
run: |
601+
docker pull "$STAGING_IMAGE_NAME:$TAG"
600602
docker tag "$STAGING_IMAGE_NAME:$TAG" "$RELEASE_IMAGE_NAME:$TAG"
601603
docker push "$RELEASE_IMAGE_NAME:$TAG"
602604
env:

0 commit comments

Comments
 (0)