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
ab1a6f7efe
commit
8650ce2b1d
1 changed files with 7 additions and 2 deletions
9
.github/workflows/maven-publish.yml
vendored
9
.github/workflows/maven-publish.yml
vendored
|
@ -58,6 +58,11 @@ jobs:
|
|||
run: |
|
||||
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA
|
||||
|
||||
- name: env
|
||||
run: |
|
||||
export IMAGE_ID="gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA"
|
||||
echo "::set-env name=IMAGE_ID::$IMAGE_ID"
|
||||
|
||||
- name: Repository Dispatch
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
with:
|
||||
|
@ -65,8 +70,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"
|
||||
# env:
|
||||
# IMAGE_ID: "gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld:$GITHUB_SHA"
|
||||
|
||||
# - name: Docker Deploy
|
||||
# run: |
|
||||
|
|
Loading…
Reference in a new issue