Skip to content

Commit a72d5c4

Browse files
authored
ci: fix image prefix for staging registry (#114)
The postsubmit/cloudbuild job was not using the proper image prefix for the k8s staging registry. This change intends to fix the image prefix so the images are properly published.
1 parent 45e4a39 commit a72d5c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ steps:
1414
# Cloud Build will use this to push the image to the registry.
1515
# This should match the image name that is built by the push-images script.
1616
images:
17-
- "${_IMAGE_PREFIX}/$PROJECT_ID/agent-sandbox-controller:$_GIT_TAG-$_CONFIG"
18-
- "${_IMAGE_PREFIX}/$PROJECT_ID/agent-sandbox-controller:latest-$_CONFIG"
17+
- "${_IMAGE_PREFIX}/agent-sandbox-controller:$_GIT_TAG-$_CONFIG"
18+
- "${_IMAGE_PREFIX}/agent-sandbox-controller:latest-$_CONFIG"
1919

2020
options:
2121
enableStructuredLogging: true
@@ -25,4 +25,4 @@ options:
2525
substitutions:
2626
_GIT_TAG: "12345"
2727
_CONFIG: main
28-
_IMAGE_PREFIX: "us-central1-docker.pkg.dev"
28+
_IMAGE_PREFIX: "us-central1-docker.pkg.dev/k8s-staging-images/agent-sandbox"

0 commit comments

Comments
 (0)