mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Update maven-publish.yml
This commit is contained in:
parent
2894229f08
commit
6aa8e65825
1 changed files with 2 additions and 2 deletions
4
.github/workflows/maven-publish.yml
vendored
4
.github/workflows/maven-publish.yml
vendored
|
@ -57,8 +57,6 @@ jobs:
|
||||||
- name: Docker Push
|
- name: Docker Push
|
||||||
run: |
|
run: |
|
||||||
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
|
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
|
- name: Repository Dispatch
|
||||||
uses: peter-evans/repository-dispatch@v1
|
uses: peter-evans/repository-dispatch@v1
|
||||||
|
@ -67,6 +65,8 @@ jobs:
|
||||||
repository: YevheniiPokhvalii/spring-petclinic-gitops-test
|
repository: YevheniiPokhvalii/spring-petclinic-gitops-test
|
||||||
event-type: kubernetes-event
|
event-type: kubernetes-event
|
||||||
client-payload: '{"ref": "${{ github.ref }}", "image_id": "$IMAGE_ID"}'
|
client-payload: '{"ref": "${{ github.ref }}", "image_id": "$IMAGE_ID"}'
|
||||||
|
env:
|
||||||
|
IMAGE_ID: gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
|
||||||
|
|
||||||
# - name: Docker Deploy
|
# - name: Docker Deploy
|
||||||
# run: |
|
# run: |
|
||||||
|
|
Loading…
Reference in a new issue