Skip to content

Commit

Permalink
fix run command
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Mar 8, 2024
1 parent 7a85feb commit 9b33d9e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9b33d9e

Please sign in to comment.