From 32a4265cd0f2033faf24a076af74f96aec2ad1f4 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 8 Aug 2025 00:43:29 +0900 Subject: [PATCH] workflows: Retrieve the actual target image with tag Signed-off-by: Hiroshi Hatake --- .github/workflows/staging-release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/staging-release.yaml b/.github/workflows/staging-release.yaml index 0d971ec8d8a..2cdc0ba39c2 100644 --- a/.github/workflows/staging-release.yaml +++ b/.github/workflows/staging-release.yaml @@ -595,8 +595,10 @@ jobs: TAG: ${{ matrix.tag }} shell: bash + # Pulling the actual image with tag is needed here. - name: Promote container images from staging to GHCR.io run: | + docker pull "$STAGING_IMAGE_NAME:$TAG" docker tag "$STAGING_IMAGE_NAME:$TAG" "$RELEASE_IMAGE_NAME:$TAG" docker push "$RELEASE_IMAGE_NAME:$TAG" env: