Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-12 19:17:03 +02:00 committed by GitHub
parent 2894229f08
commit 6aa8e65825
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,8 +57,6 @@ jobs:
- name: Docker Push
run: |
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
env:
IMAGE_ID: gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
@ -67,6 +65,8 @@ jobs:
repository: YevheniiPokhvalii/spring-petclinic-gitops-test
event-type: kubernetes-event
client-payload: '{"ref": "${{ github.ref }}", "image_id": "$IMAGE_ID"}'
env:
IMAGE_ID: gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
# - name: Docker Deploy
# run: |