Skip to content

Commit

Permalink
Specify source after 'gcloud builds submit' (#2317)
Browse files Browse the repository at this point in the history
  • Loading branch information
sejalsharma-google committed May 16, 2024
1 parent c7f927b commit 8825e6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ get_vars(){
# _NEW_IMAGE: The name of the resulting preloaded image.
# _NEW_IMAGE_FAMILY: The new image family for the preloaded image.
create_preloaded_image(){
gcloud builds submit --config=dev_cloudbuild.yaml --disk-size=200 . --substitutions=_NEW_IMAGE_FAMILY="cos-preloaded-images",_BASE_IMAGE_PROJECT="cos-cloud",_BASE_IMAGE="${SOURCE_IMAGE}",_OVERLAYS_BRANCH="${COS_BRANCH}",_COMMIT_SHA="${COMMIT_SHA}",_NEW_IMAGE="${DEST_IMAGE}",_DEST_PROJECT="gcp-guest"
gcloud builds submit . --config=dev_cloudbuild.yaml --disk-size=200 --substitutions=_NEW_IMAGE_FAMILY="cos-preloaded-images",_BASE_IMAGE_PROJECT="cos-cloud",_BASE_IMAGE="${SOURCE_IMAGE}",_OVERLAYS_BRANCH="${COS_BRANCH}",_COMMIT_SHA="${COMMIT_SHA}",_NEW_IMAGE="${DEST_IMAGE}",_DEST_PROJECT="gcp-guest"
}

main (){
Expand Down

0 comments on commit 8825e6e

Please sign in to comment.