Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-12 00:45:34 +02:00 committed by GitHub
parent 6963074cef
commit c1ee5d2dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,11 +52,11 @@ jobs:
- name: Docker Build - name: Docker Build
run: | run: |
docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:latest . docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA .
- name: Docker Push - name: Docker Push
run: | run: |
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:latest docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
# - name: Docker Deploy # - name: Docker Deploy
# run: | # run: |