Skip to content

Commit

Permalink
docs: Support GCR deprecation (#133)
Browse files Browse the repository at this point in the history
Use Artifact Registry instead per b/352025652
  • Loading branch information
camiekim authored Jul 29, 2024
1 parent ab2ce40 commit 4c4fbd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cloud-run-jobs-payload-gcs/message-payload-job/deploy-job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export REGION=${REGION:=us-central1} # default us-central1 region if not defined
JOB_NAME=message-payload-job
NUM_TASKS=1

IMAGE_NAME=gcr.io/${PROJECT_ID}/${JOB_NAME}
gcloud artifacts repositories create cloud-run-jobs --repository-format=docker --location=$REGION
gcloud auth configure-docker $REGION-docker.pkg.dev
IMAGE_NAME=$REGION-docker.pkg.dev/${PROJECT_ID}/cloud-run-jobs/${JOB_NAME}:latest

INPUT_BUCKET=message-payload-${PROJECT_ID}

Expand Down

0 comments on commit 4c4fbd9

Please sign in to comment.