Skip to content

Commit

Permalink
Add digest output to script
Browse files Browse the repository at this point in the history
  • Loading branch information
ani300 committed Sep 30, 2024
1 parent b914102 commit 7ecb2e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nightly-pytorch-compile/buildAndPush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ TAG="${REGISTRY}/${NAMESPACE}/${NAME}:${VERSION}"
docker build -t "${TAG}" .

docker push "${TAG}"

echo "digest=$(docker inspect --format='{{index .RepoDigests 0}}' ${TAG})" >> $GITHUB_OUTPUT

0 comments on commit 7ecb2e4

Please sign in to comment.