From b4f572307ae60b4cfd6ed992bdeece16a970bd7d Mon Sep 17 00:00:00 2001 From: Michael Chiou Date: Mon, 10 Jun 2024 14:20:35 -0700 Subject: [PATCH] #8082:set tag --- .github/workflows/build-artifact.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-artifact.yaml b/.github/workflows/build-artifact.yaml index 3f4a80a10763..c1f620d45306 100644 --- a/.github/workflows/build-artifact.yaml +++ b/.github/workflows/build-artifact.yaml @@ -13,15 +13,15 @@ jobs: set-docker-image-tag: runs-on: build outputs: - IMAGE_TAG: ${{ steps.set-image.outputs.IMAGE_TAG }} + tag: ${{ steps.set-image-tag.outputs.IMAGE_TAG }} steps: - name: Determine Docker Image Tag - id: set-image + id: set-image-tag run: | if [[ "${GITHUB_REF_NAME}" == "main" ]]; then - echo "::set-output name=IMAGE_TAG::latest" >> $GITHUB_OUTPUT + echo "name=IMAGE_TAG=latest" >> $GITHUB_OUTPUT else - echo "::set-output name=IMAGE_TAG::${GITHUB_ACTOR}" >> $GITHUB_OUTPUT + echo "name=IMAGE_TAG=${GITHUB_ACTOR}" >> $GITHUB_OUTPUT fi build-artifact: @@ -38,7 +38,7 @@ jobs: environment: dev runs-on: build-docker container: - image: ghcr.io/${{ github.repository }}/${{ matrix.arch }}:${{ needs.set-docker-image-tag.outputs.IMAGE_TAG }} + image: ghcr.io/${{ github.repository }}/${{ matrix.arch }}:${{ needs.set-docker-image-tag.outputs.tag }} env: TT_METAL_HOME: ${{ env.TT_METAL_HOME }} CONFIG: ${{ env.CONFIG }}