Skip to content

Commit

Permalink
#0: fix docker tag referencing when using image
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed Sep 24, 2024
1 parent 0f37743 commit 795790e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 795790e

Please sign in to comment.