Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Deploy to Google Cloud Run
run: |
gcloud run deploy ${{ secrets.GCP_SERVICE }} \
--image "gcr.io/${{ secrets.GCP_PROJECT }}/countries-image" \
--image "us-central1-docker.pkg.dev/${{ secrets.GCP_PROJECT }}/${{ secrets.ARTIFACTS_NAME }}/countries-image:latest" \
--platform managed \
--region ${{ secrets.GCP_REGION }} \
--max-instances ${{ secrets.INSTANCE_MAX }} \
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = 'cl.restapi'
version = '1.2.0'
version = '1.2.1'

java {
sourceCompatibility = '21'
Expand Down
2 changes: 1 addition & 1 deletion gradle/jib.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jib {
image = 'eclipse-temurin:21-alpine'
}
to {
image = "gcr.io/${System.getenv('GCP_PROJECT')}/countries-image"
image = "us-central1-docker.pkg.dev/${System.getenv('GCP_PROJECT')}/${System.getenv('ARTIFACTS_NAME')}/countries-image"
auth {
username = 'oauth2accesstoken'
password = 'gcloud auth print-access-token'.execute().text.trim()
Expand Down