Skip to content

Commit

Permalink
fix: update Azure build steps (ratify-project#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
akashsinghal authored Jun 14, 2023
1 parent 2b98f27 commit 8bb4111
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/azure-ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ REGISTRY="${ACR_NAME}.azurecr.io"

build_push_to_acr() {
echo "Building and pushing images to ACR"
docker build --progress=plain --no-cache -f ./httpserver/Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuild:${TAG}" .
docker build --progress=plain --no-cache --build-arg build_cosign=true --build-arg build_sbom=true --build-arg build_licensechecker=true --build-arg build_schemavalidator=true -f ./httpserver/Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuild:${TAG}" .
docker push "${REGISTRY}/test/localbuild:${TAG}"

docker build --progress=plain --no-cache --build-arg KUBE_VERSION=${KUBERNETES_VERSION} --build-arg TARGETOS="linux" --build-arg TARGETARCH="amd64" -f crd.Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuildcrd:${TAG}" ./charts/ratify/crds
Expand All @@ -53,7 +53,8 @@ deploy_gatekeeper() {
--name-template=gatekeeper \
--namespace gatekeeper-system --create-namespace \
--set enableExternalData=true \
--set validatingWebhookTimeoutSeconds=7 \
--set validatingWebhookTimeoutSeconds=5 \
--set mutatingWebhookTimeoutSeconds=2 \
--set auditInterval=0
}

Expand Down

0 comments on commit 8bb4111

Please sign in to comment.