From 9904cf2ea61ca9f9d0ab9bede289aec838576e62 Mon Sep 17 00:00:00 2001 From: Muhammad Raihan Akbar <ianakbar711@gmail.com> Date: Wed, 26 Feb 2025 23:19:20 +0700 Subject: [PATCH] [REFACTOR] changed the deployment repository for staging --- .github/workflows/staging-ci-cd.yml | 1 + resources.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/staging-ci-cd.yml b/.github/workflows/staging-ci-cd.yml index f64e83a..0c52350 100644 --- a/.github/workflows/staging-ci-cd.yml +++ b/.github/workflows/staging-ci-cd.yml @@ -71,6 +71,7 @@ jobs: - name: Deploy to GKE env: GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }} + GOOGLE_REPOSiTORY: staging-repository run: | gcloud container clusters get-credentials safetypin-staging --region asia-southeast2 sed -i "s/GOOGLE_PROJECT/$GOOGLE_PROJECT/g" resources.yaml diff --git a/resources.yaml b/resources.yaml index a3d64c5..f9611f7 100644 --- a/resources.yaml +++ b/resources.yaml @@ -29,6 +29,6 @@ spec: spec: containers: - name: authentication - image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/my-repository/authentication:latest + image: us-central1-docker.pkg.dev/GOOGLE_PROJECT/GOOGLE_REPOSITORY/authentication:latest ports: - containerPort: 8080 \ No newline at end of file -- GitLab