diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml index 61a8f58..7b06f00 100644 --- a/.github/workflows/deploy-staging.yaml +++ b/.github/workflows/deploy-staging.yaml @@ -17,6 +17,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '17' + distribution: 'temurin' - name: Authenticate to Google Cloud uses: google-github-actions/auth@v1 @@ -39,10 +40,9 @@ jobs: gcloud run deploy ${{ secrets.CLOUD_RUN_SERVICE }} \ --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.ARTIFACT_REGISTRY_REPO }}/my-app:$GITHUB_SHA \ --platform managed \ - --region europe-west1 + --region europe-west1 \ --allow-unauthenticated \ --set-env-vars SPRING_PROFILES_ACTIVE=staging - name: Clean up run: docker rmi gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.ARTIFACT_REGISTRY_REPO }}/my-app:$GITHUB_SHA -