Skip to content

Commit 1a7d5be

Browse files
dispatch deploy job
1 parent 88a84ff commit 1a7d5be

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/harness-image.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,19 @@ jobs:
5959
platforms: linux/amd64,linux/arm64
6060
push: true
6161
tags: ${{ steps.meta.outputs.tags }}
62+
63+
dispatch-deploy:
64+
# TODO: remove the github.ref condition prior to merging
65+
if: github.event_name == 'release' || github.ref == 'refs/heads/certification-worker'
66+
needs: build-and-push
67+
runs-on: ubuntu-latest
68+
permissions:
69+
contents: read
70+
steps:
71+
- uses: peter-evans/repository-dispatch@v3
72+
with:
73+
token: ${{ secrets.CI_UTIL_DISPATCH_TOKEN }}
74+
repository: conductor-oss/oss-ci-util
75+
event-type: sdk_release
76+
client-payload: |-
77+
{"tag": "${{ github.event.release.tag_name || 'latest' }}", "repo": "${{ github.repository }}"}

0 commit comments

Comments
 (0)