File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
if [ $KUBERNETES_DEPLOYMENT_NAME = " cognition-gateway" ]; then
27
27
KUBERNETES_DEPLOYMENT_NAME=" refinery-gateway"
28
28
set +e
29
- IMAGE_TAG_EXISTS=$( docker manifest inspect ${AZURE_CONTAINER_REGISTRY} / ${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} 2> /dev/null)
29
+ IMAGE_TAG_EXISTS=$( az acr repository show --name ${AZURE_CONTAINER_REGISTRY} --image ${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} 2> /dev/null)
30
30
set -e
31
31
if [ -z " $IMAGE_TAG_EXISTS " ]; then
32
32
echo " ::notice::No migrations to apply for image tag ${AZURE_CONTAINER_REGISTRY} /${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} "
Original file line number Diff line number Diff line change 26
26
if [ $KUBERNETES_DEPLOYMENT_NAME = " cognition-gateway" ]; then
27
27
KUBERNETES_DEPLOYMENT_NAME=" refinery-gateway"
28
28
set +e
29
- IMAGE_TAG_EXISTS=$( docker manifest inspect ${AZURE_CONTAINER_REGISTRY} / ${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} 2> /dev/null)
29
+ IMAGE_TAG_EXISTS=$( az acr repository show --name ${AZURE_CONTAINER_REGISTRY} --image ${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} 2> /dev/null)
30
30
set -e
31
31
if [ -z " $IMAGE_TAG_EXISTS " ]; then
32
32
echo " ::notice::No migrations to apply for image tag ${AZURE_CONTAINER_REGISTRY} /${KUBERNETES_DEPLOYMENT_NAME} :${IMAGE_TAG} "
You can’t perform that action at this time.
0 commit comments