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
55dcd6fe76
commit
2894229f08
1 changed files with 3 additions and 1 deletions
4
.github/workflows/maven-publish.yml
vendored
4
.github/workflows/maven-publish.yml
vendored
|
@ -57,6 +57,8 @@ 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
|
||||
|
@ -64,7 +66,7 @@ jobs:
|
|||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
repository: YevheniiPokhvalii/spring-petclinic-gitops-test
|
||||
event-type: kubernetes-event
|
||||
client-payload: '{"ref": "${{ github.ref }}", "image_id": "${{ "gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA" }}"}'
|
||||
client-payload: '{"ref": "${{ github.ref }}", "image_id": "$IMAGE_ID"}'
|
||||
|
||||
# - name: Docker Deploy
|
||||
# run: |
|
||||
|
|
Loading…
Reference in a new issue