This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 6450a1c  try us-central1-docker.pkg.dev instead of gcr.io
6450a1c is described below

commit 6450a1ceedb62c4971f42c5f9881d085e431a94c
Author: James Fredley <jamesfred...@users.noreply.github.com>
AuthorDate: Thu May 22 12:59:14 2025 -0400

    try us-central1-docker.pkg.dev instead of gcr.io
---
 .github/workflows/next-gcp-deploy.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/next-gcp-deploy.yml 
b/.github/workflows/next-gcp-deploy.yml
index 72f4b34..331a442 100644
--- a/.github/workflows/next-gcp-deploy.yml
+++ b/.github/workflows/next-gcp-deploy.yml
@@ -39,7 +39,7 @@ jobs:
     runs-on: ubuntu-24.04
     needs: build
     env:
-      IMAGE_NAME: gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ 
secrets.GCP_APP_NAME }}:next
+      IMAGE_NAME: us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ 
secrets.GCP_APP_NAME }}:next
     steps:
       - name: "🔑 Login"
         uses: 
google-github-actions/setup-gcloud@20c93dacc1d70ddbce76c63ab32c35595345bdd1
@@ -76,6 +76,7 @@ jobs:
         run: >
           gcloud run deploy ${{ secrets.GCP_PROJECT_ID }}-next
           --source 
grails-forge-web-netty/build/docker/native-main/DockerfileNative
+          --image $IMAGE_NAME
           --region us-central1
           
--update-env-vars=HOSTNAME="next.grails.org",CORS_ALLOWED_ORIGIN="https://start.grails.org",GITHUB_OAUTH_APP_CLIENT_ID=${{
 secrets.GH_OAUTH_SNAPSHOT_CLIENT_ID }},GITHUB_OAUTH_APP_CLIENT_SECRET=${{ 
secrets.GH_OAUTH_SNAPSHOT_CLIENT_SECRET }},GITHUB_USER_AGENT=${{ 
secrets.GH_USER_AGENT }},GITHUB_REDIRECT_URL=${{ secrets.GH_REDIRECT_URL }}
           --platform managed

Reply via email to