File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ jobs:
254254 DOCKERHUB_PASSWORD : ${{ secrets.DOCKERHUB_PASSWORD }}
255255 DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
256256 SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
257+ INTERNAL_DOCKER_REGISTRY : ${{ secrets.INTERNAL_DOCKER_REGISTRY }}
257258 CI3_INSTANCE_PROFILE_NAME : ${{ secrets.CI3_INSTANCE_PROFILE_NAME }}
258259 CI3_SECURITY_GROUP_ID : ${{ secrets.CI3_SECURITY_GROUP_ID }}
259260 RUN_ID : ${{ github.run_id }}
@@ -269,7 +270,16 @@ jobs:
269270 tag="${tag#v}"
270271 major_version=$(./ci3/semver major "$tag")
271272 namespace="v${major_version}-scenario"
272- docker_image="aztecprotocol/aztec:${tag}"
273+ case "$GITHUB_REPOSITORY" in
274+ AztecProtocol/aztec-packages-private)
275+ image_registry="${INTERNAL_DOCKER_REGISTRY%/}"
276+ echo "::add-mask::${image_registry}"
277+ ;;
278+ *)
279+ image_registry="aztecprotocol"
280+ ;;
281+ esac
282+ docker_image="${image_registry}/aztec:${tag}"
273283 else
274284 # branch name
275285 namespace=pr-$(echo "$HEAD_REF" | sed 's/[^a-z0-9-]/-/g' | cut -c1-20 | sed 's/-*$//')
You can’t perform that action at this time.
0 commit comments