Skip to content

Migrate Docker image registry from deprecated GCR to Artifact Registry#570

Merged
takanakahiko merged 4 commits into
mainfrom
copilot/update-container-registry
Apr 2, 2026
Merged

Migrate Docker image registry from deprecated GCR to Artifact Registry#570
takanakahiko merged 4 commits into
mainfrom
copilot/update-container-registry

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

Google Container Registry (gcr.io/asia.gcr.io) is deprecated. This migrates the Docker image push destination to Google Artifact Registry.

Changes

  • delivery.yml

    • Update gcloud auth configure-docker to target the Artifact Registry hostname
    • Change image ref from asia.gcr.io/prismdb/<service>:<sha>asia-northeast1-docker.pkg.dev/prismdb/prismdb/<service>:<sha>
  • build.yml

    • Remove the gcloud auth configure-docker step — the build job only uses public base images and never pushes, so registry auth is unnecessary
- run: gcloud auth configure-docker --quiet
+ run: gcloud auth configure-docker ${{env.GCP_REGION}}-docker.pkg.dev --quiet

- run: echo "IMAGE=asia.gcr.io/${{env.GCP_PROJECT}}/${{ matrix.SERVICE_NAME }}:${{ github.sha }}" >> $GITHUB_ENV
+ run: echo "IMAGE=${{env.GCP_REGION}}-docker.pkg.dev/${{env.GCP_PROJECT}}/prismdb/${{ matrix.SERVICE_NAME }}:${{ github.sha }}" >> $GITHUB_ENV

Prerequisite: An Artifact Registry repository named prismdb must exist in the prismdb GCP project under region asia-northeast1 before this workflow runs successfully.

Copilot AI changed the title [WIP] Update deprecated container registry for Docker images Migrate Docker image registry from deprecated GCR to Artifact Registry Apr 2, 2026
Copilot AI requested a review from takanakahiko April 2, 2026 14:49
@takanakahiko takanakahiko marked this pull request as ready for review April 2, 2026 15:13
@takanakahiko takanakahiko merged commit 3e16c48 into main Apr 2, 2026
4 checks passed
@takanakahiko takanakahiko deleted the copilot/update-container-registry branch April 5, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerイメージのpush先に使っているContainer Registryが非推奨になっているので対応する

2 participants