Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-12 17:51:26 +02:00 committed by GitHub
parent c1ee5d2dbc
commit 5aeaa09487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,14 @@ jobs:
run: | run: |
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: YevheniiPokhvalii/spring-petclinic-gitops-test
event-type: kubernetes-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ GITHUB_SHA }}"}'
# - name: Docker Deploy # - name: Docker Deploy
# run: | # run: |
# gcloud run deploy helloworld \ # gcloud run deploy helloworld \
@ -66,3 +74,4 @@ jobs:
# --platform managed \ # --platform managed \
# --allow-unauthenticated \ # --allow-unauthenticated \
# --project ${{ secrets.GCP_PROJECT_ID }} # --project ${{ secrets.GCP_PROJECT_ID }}