mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Update maven-publish.yml
This commit is contained in:
parent
c1ee5d2dbc
commit
5aeaa09487
1 changed files with 9 additions and 0 deletions
9
.github/workflows/maven-publish.yml
vendored
9
.github/workflows/maven-publish.yml
vendored
|
@ -58,6 +58,14 @@ jobs:
|
|||
run: |
|
||||
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
|
||||
# run: |
|
||||
# gcloud run deploy helloworld \
|
||||
|
@ -66,3 +74,4 @@ jobs:
|
|||
# --platform managed \
|
||||
# --allow-unauthenticated \
|
||||
# --project ${{ secrets.GCP_PROJECT_ID }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue