From 8b15db85b2bd57b4c24ba8e5a790aad085cf9ecd Mon Sep 17 00:00:00 2001 From: limengxuan <391013634@qq.com> Date: Sat, 25 Jan 2025 14:41:58 +0800 Subject: [PATCH] Fix CI release (#840) * update ci Signed-off-by: limengxuan <391013634@qq.com> --- .github/workflows/call-release-image.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/call-release-image.yaml b/.github/workflows/call-release-image.yaml index 832a0361c..dedaab870 100644 --- a/.github/workflows/call-release-image.yaml +++ b/.github/workflows/call-release-image.yaml @@ -135,21 +135,21 @@ jobs: id: meta1 uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_REPO_HAMICORE }} + images: ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }} - name: Build & Pushing hami image uses: docker/build-push-action@v6.11.0 with: context: . file: ${{ env.IMAGE_ROOT_PATH }}/Dockerfile.hamimaster - labels: ${{ steps.meta.outputs.labels }} + labels: ${{ steps.meta1.outputs.labels }} platforms: ${{ env.BUILD_PLATFORM }} build-args: | VERSION=${{ env.ref }} GOLANG_IMAGE=golang:1.22.5-bullseye - HAMICORE_IMAGE=projecthami/hamicore: ${{ env.ref }} + HAMICORE_IMAGE=${{ steps.meta.outputs.tags }} DEST_DIR=/usr/local - tags: ${{ steps.meta.outputs.tags }} + tags: ${{ steps.meta1.outputs.tags }} push: true github-token: ${{ env.REGISTER_PASSWORD }}