Skip to content

Commit

Permalink
feat: verify tag signature on release (#16053)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt authored Jan 28, 2025
1 parent 62d45cd commit 349f1f0
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
uses: ./.github/actions/version-file-bump
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check Tag Signature
uses: smartcontractkit/.github/actions/check-if-verified@6319f88a06e307c360dff43c3ac25d0581894a75 # [email protected]
with:
tag: ${{ github.ref_name }}
assert: true

build-sign-publish-chainlink:
needs: [checks]
Expand Down Expand Up @@ -128,18 +133,18 @@ jobs:
) || ''
}}
docker-image-name: >-
${{
github.ref_type == 'tag' &&
${{
github.ref_type == 'tag' &&
format(
'{0}/{1}:{2}',
env.ECR_HOSTNAME,
'{0}/{1}:{2}',
env.ECR_HOSTNAME,
needs.checks.outputs.ecr-image-name,
needs.build-sign-publish-chainlink.outputs.docker-image-tag
) || ''
}}
docker-image-digest: >-
${{
github.ref_type == 'tag' &&
${{
github.ref_type == 'tag' &&
needs.build-sign-publish-chainlink.outputs.docker-image-digest || ''
}}
crib:
Expand Down

0 comments on commit 349f1f0

Please sign in to comment.