Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cosign support for release binaries #436

Merged
merged 11 commits into from
Dec 2, 2024
Prev Previous commit
Next Next commit
add: dispatch workflow trigger for docker build
  • Loading branch information
debendraoli committed Nov 28, 2024
commit 5b9f6b52dddf89dedcaf2bbd5c229e7fa89b7a4d
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Release"
name: Release

on:
push:
@@ -9,6 +9,9 @@ on:
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
steps:
- name: Delete unnecessary tools folder for space
run: rm -rf /opt/hostedtoolcache
@@ -30,3 +33,12 @@ jobs:
COSIGN_PWD: ${{ secrets.COSIGN_PWD }}
COSIGN_KEY: ${{ secrets.COSIGN_KEY }}
run: make release

- name: Trigger relayer-docker build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -X POST -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/icon-project/relayer-docker/dispatches \
-d '{"event_type":"trigger-build","client_payload":{"tag":"${GITHUB_REF#refs/tags/}"}}'
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ checksum:

release:
prerelease: auto
draft: true
draft: false
extra_files:
- glob: dist/*.sig