From 9b33d9e20ecf18fe94d940c8a9b4c0982f8c2142 Mon Sep 17 00:00:00 2001 From: Richard87 Date: Fri, 8 Mar 2024 13:27:02 +0100 Subject: [PATCH] fix run command --- .github/workflows/pr.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8380286..72331b1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -75,18 +75,18 @@ jobs: ACR_NAME: radixdev IMAGE_NAME: radix-vulnerability-scanner TAG: ${{steps.tag.outputs.tag}}| - run: az acr task run \ - --subscription ${AZURE_SUBSCRIPTION_ID} \ - --name radix-image-builder-internal \ - --registry ${ACR_NAME} \ - --context ${GITHUB_WORKSPACE} \ - --file ${GITHUB_WORKSPACE}/Dockerfile \ - --set DOCKER_REGISTRY=${ACR_NAME} \ - --set BRANCH=${GITHUB_REF_NAME} \ - --set TAGS="--tag ${ACR_NAME}.azurecr.io/${IMAGE_NAME}:${TAG}" \ - --set DOCKER_FILE_NAME=Dockerfile \ - --set PUSH="--push" \ - --set REPOSITORY_NAME=${IMAGE_NAME} \ - --set CACHE="" \ + run: az acr task run + --subscription ${AZURE_SUBSCRIPTION_ID} + --name radix-image-builder-internal + --registry ${ACR_NAME} + --context ${GITHUB_WORKSPACE} + --file ${GITHUB_WORKSPACE}/Dockerfile + --set DOCKER_REGISTRY=${ACR_NAME} + --set BRANCH=${GITHUB_REF_NAME} + --set TAGS="--tag ${ACR_NAME}.azurecr.io/${IMAGE_NAME}:${TAG}" + --set DOCKER_FILE_NAME=Dockerfile + --set PUSH="--push" + --set REPOSITORY_NAME=${IMAGE_NAME} + --set CACHE="" --set CACHE_TO_OPTIONS="--cache-to=type=registry,ref=${ACR_NAME}.azurecr.io/${IMAGE_NAME}:radix-cache-dev,mode=max"