From 795790e8f39f5835a0809c3ca70642828d430bc4 Mon Sep 17 00:00:00 2001 From: Michael Chiou Date: Mon, 23 Sep 2024 18:35:01 -0700 Subject: [PATCH] #0: fix docker tag referencing when using image --- .github/workflows/build-artifact.yaml | 1 - .github/workflows/build-docker-artifact.yaml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-artifact.yaml b/.github/workflows/build-artifact.yaml index 7b254c9332a..37e520edb51 100644 --- a/.github/workflows/build-artifact.yaml +++ b/.github/workflows/build-artifact.yaml @@ -110,7 +110,6 @@ jobs: -v /etc/bashrc:/etc/bashrc:ro -e ARCH_NAME=${{ matrix.arch }} -w ${{ github.workspace }} - run: | nice -n 19 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} -DENABLE_TRACY=${{ inputs.tracy }} nice -n 19 cmake --build build --target tests diff --git a/.github/workflows/build-docker-artifact.yaml b/.github/workflows/build-docker-artifact.yaml index 347a38397e1..8846696b9e7 100644 --- a/.github/workflows/build-docker-artifact.yaml +++ b/.github/workflows/build-docker-artifact.yaml @@ -69,8 +69,8 @@ jobs: - name: Tag Docker main image as current image if: steps.changed-files-specific.outputs.any_changed != 'true' run: | - docker pull ghcr.io/${{ github.repository }}/${{ env.TT_METAL_DOCKER_IMAGE }}:latest - docker tag ghcr.io/${{ github.repository }}/${{ env.TT_METAL_DOCKER_IMAGE }}:latest ${{ env.TT_METAL_DOCKER_IMAGE_TAG}} + docker pull ghcr.io/${{ github.repository }}/tt-metalium/${{ env.TT_METAL_DOCKER_IMAGE }}:latest + docker tag ghcr.io/${{ github.repository }}/tt-metalium/${{ env.TT_METAL_DOCKER_IMAGE }}:latest ${{ env.TT_METAL_DOCKER_IMAGE_TAG}} - name: Push Docker image to GitHub Container Registry run: | docker push ${{ env.TT_METAL_DOCKER_IMAGE_TAG }}