Skip to content

Commit

Permalink
Trigger tagging sui dockerhub images (MystenLabs#15809)
Browse files Browse the repository at this point in the history
## Description 
Trigger tagging sui dockerhub images

## Test Plan 
I will test this once
MystenLabs/sui-operations#3122 lands
  • Loading branch information
ebmifa authored Jan 22, 2024
1 parent 84e5896 commit 760b043
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,15 @@ jobs:
force-add: 'true'
name: ${{ github.triggering_actor }}
email: ${{ github.triggering_actor }}@users.noreply.github.com

# Tag all sui images with release tag, so that they can be easily found
tag-docker-hub-images:
runs-on: ubuntu-latest
steps:
- name: Dispatch Tagging of images in DockerHub, in MystenLabs/sui-operations
uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588 # pin@v2
with:
repository: MystenLabs/sui-operations
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }}
event-type: tag-docker-images
client-payload: '{"sui_commit": "${{ github.sha }}", "repo_name": "all", "tag": "${{ env.TAG_NAME }}"}'
10 changes: 0 additions & 10 deletions .github/workflows/trigger-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,3 @@ jobs:
event-type: build-release-binaries
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

tag-docker-hub-images:
runs-on: ubuntu-latest
steps:
- name: Dispatch Tagging of images in DockerHub, in MystenLabs/sui-operations
uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588 # pin@v2
with:
repository: MystenLabs/sui-operations
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }}
event-type: tag-docker-images
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "ref_name": "${{ github.ref_name }}", "image": "all"}'

0 comments on commit 760b043

Please sign in to comment.