-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use keyless input and temp remove slack-notify
- Loading branch information
1 parent
5666829
commit 7238d1f
Showing
1 changed file
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,10 +52,10 @@ jobs: | |
ecr-hostname: ${{ env.ECR_HOSTNAME }} | ||
ecr-image-name: ${{ env.ECR_IMAGE_NAME }} | ||
sign-images: true | ||
sign-method: "keypair" | ||
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} | ||
cosign-public-key: ${{ secrets.COSIGN_PUBLIC_KEY }} | ||
cosign-password: ${{ secrets.COSIGN_PASSWORD }} | ||
sign-method: "keyless" | ||
# cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }} | ||
# cosign-public-key: ${{ secrets.COSIGN_PUBLIC_KEY }} | ||
# cosign-password: ${{ secrets.COSIGN_PASSWORD }} | ||
dockerhub_username: ${{ secrets.DOCKERHUB_READONLY_USERNAME }} | ||
dockerhub_password: ${{ secrets.DOCKERHUB_READONLY_PASSWORD }} | ||
verify-signature: true | ||
|
@@ -131,42 +131,42 @@ jobs: | |
continue-on-error: true | ||
|
||
# Notify Slack channel for new git tags. | ||
slack-notify: | ||
if: github.ref_type == 'tag' | ||
needs: [build-sign-publish-chainlink] | ||
runs-on: ubuntu-24.04 | ||
environment: build-publish | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
- name: Notify Slack | ||
uses: smartcontractkit/.github/actions/slack-notify-git-ref@7fa90bbeff35aa6ce3a9054f542bcf10b7d47cec # [email protected] | ||
with: | ||
slack-channel-id: ${{ secrets.SLACK_CHANNEL_RELEASE_NOTIFICATIONS }} | ||
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN_RELENG }} # Releng Bot | ||
git-ref: ${{ github.ref_name }} | ||
git-ref-type: ${{ github.ref_type }} | ||
changelog-url: >- | ||
${{ | ||
github.ref_type == 'tag' && | ||
format( | ||
'https://github.com/{0}/blob/{1}/CHANGELOG.md', | ||
github.repository, | ||
github.ref_name | ||
) || '' | ||
}} | ||
docker-image-name: >- | ||
${{ | ||
github.ref_type == 'tag' && | ||
format( | ||
'{0}/{1}:{2}', | ||
env.ECR_HOSTNAME, | ||
env.ECR_IMAGE_NAME, | ||
needs.build-sign-publish-chainlink.outputs.docker-image-tag | ||
) || '' | ||
}} | ||
docker-image-digest: >- | ||
${{ | ||
github.ref_type == 'tag' && | ||
needs.build-sign-publish-chainlink.outputs.docker-image-digest || '' | ||
}} | ||
# slack-notify: | ||
# if: github.ref_type == 'tag' | ||
# needs: [build-sign-publish-chainlink] | ||
# runs-on: ubuntu-24.04 | ||
# environment: build-publish | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
# - name: Notify Slack | ||
# uses: smartcontractkit/.github/actions/slack-notify-git-ref@7fa90bbeff35aa6ce3a9054f542bcf10b7d47cec # [email protected] | ||
# with: | ||
# slack-channel-id: ${{ secrets.SLACK_CHANNEL_RELEASE_NOTIFICATIONS }} | ||
# slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN_RELENG }} # Releng Bot | ||
# git-ref: ${{ github.ref_name }} | ||
# git-ref-type: ${{ github.ref_type }} | ||
# changelog-url: >- | ||
# ${{ | ||
# github.ref_type == 'tag' && | ||
# format( | ||
# 'https://github.com/{0}/blob/{1}/CHANGELOG.md', | ||
# github.repository, | ||
# github.ref_name | ||
# ) || '' | ||
# }} | ||
# docker-image-name: >- | ||
# ${{ | ||
# github.ref_type == 'tag' && | ||
# format( | ||
# '{0}/{1}:{2}', | ||
# env.ECR_HOSTNAME, | ||
# env.ECR_IMAGE_NAME, | ||
# needs.build-sign-publish-chainlink.outputs.docker-image-tag | ||
# ) || '' | ||
# }} | ||
# docker-image-digest: >- | ||
# ${{ | ||
# github.ref_type == 'tag' && | ||
# needs.build-sign-publish-chainlink.outputs.docker-image-digest || '' | ||
# }} |