We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66548d0 commit b13126aCopy full SHA for b13126a
.github/workflows/build.yaml
@@ -121,7 +121,7 @@ jobs:
121
IMAGE_NAME=`echo ${IMAGE_PATH} | cut -d '/' -f 2 | cut -d ':' -f 1`
122
TAG="$CODE_VERSION"
123
124
- if [ $(az acr repository show-tags --name opensidewalksdev --repository $IMAGE_NAME | grep -o $TAG) == "$TAG" ]; then
+ if [ $(az acr repository show-tags --username ${{ vars.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} --name opensidewalksdev --repository $IMAGE_NAME | grep -o $TAG) == "$TAG" ]; then
125
echo "Image already exists for $IMAGE_PATH, not building again"
126
else
127
echo "Image does not exist at $IMAGE_PATH, building and pushing"
0 commit comments