diff --git a/.github/workflows/staging-ci-cd.yml b/.github/workflows/staging-ci-cd.yml index f64e83af7cf73c01edca93e9d3417974401e457f..0c5235008cee3011899b0d9ed91e1ae9d35faed1 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 a3d64c573431beea83e5b403af669c5eff41c125..f9611f7ec0c29c606437cd689f5fcc29d14aa84c 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