File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 69
69
docker image tag $GCR_REGISTRY:$IMAGE_TAG $GCR_REGISTRY:latest
70
70
docker push $GCR_REGISTRY:$IMAGE_TAG
71
71
docker push $GCR_REGISTRY:latest
72
- echo "::set-output name=build-tag::$GCR_REGISTRY:$ IMAGE_TAG"
73
- echo "::debug::Set the build-tag output as $GCR_REGISTRY:$ IMAGE_TAG"
72
+ echo "::set-output name=build-tag::$IMAGE_TAG"
73
+ echo "::debug::Set the build-tag output as $IMAGE_TAG"
74
74
75
75
deploy-image :
76
76
runs-on : ubuntu-latest
@@ -83,10 +83,11 @@ jobs:
83
83
uses : google-github-actions/auth@v0
84
84
with :
85
85
credentials_json : ${{ secrets.GCP_CREDENTIALS }}
86
+ create_credentials_file : false
86
87
87
88
- name : Deploy to Cloud Run
88
89
env :
89
- BUILD_TAG : ${{ needs.build-image.outputs.BUILD_TAG }}
90
+ BUILD_TAG : gcr.io/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_APP_NAME }}/${{ secrets.GCP_GCR_REPO }}: ${{ needs.build-image.outputs.BUILD_TAG }}
90
91
run : |
91
92
gcloud run deploy ${{ secrets.GCP_APP_NAME }} \
92
93
--image $BUILD_TAG \
You can’t perform that action at this time.
0 commit comments