Skip to content

Commit b13126a

Browse files
committed
Update build.yaml
1 parent 66548d0 commit b13126a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
IMAGE_NAME=`echo ${IMAGE_PATH} | cut -d '/' -f 2 | cut -d ':' -f 1`
122122
TAG="$CODE_VERSION"
123123
124-
if [ $(az acr repository show-tags --name opensidewalksdev --repository $IMAGE_NAME | grep -o $TAG) == "$TAG" ]; then
124+
if [ $(az acr repository show-tags --username ${{ vars.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} --name opensidewalksdev --repository $IMAGE_NAME | grep -o $TAG) == "$TAG" ]; then
125125
echo "Image already exists for $IMAGE_PATH, not building again"
126126
else
127127
echo "Image does not exist at $IMAGE_PATH, building and pushing"

0 commit comments

Comments
 (0)