Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-11 16:26:42 +02:00 committed by GitHub
parent 7a0343dd0f
commit 462bbe7504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,11 +58,11 @@ jobs:
run: |
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:latest
- name: Deploy
run: |
gcloud run deploy helloworld \
--region europe-west1 \
--image gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld \
--platform managed \
--allow-unauthenticated \
--project ${{ secrets.GCP_PROJECT_ID }}
# - name: Deploy
# run: |
# gcloud run deploy helloworld \
# --region europe-west1 \
# --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld \
# --platform managed \
# --allow-unauthenticated \
# --project ${{ secrets.GCP_PROJECT_ID }}