-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INFRA-92: add signing commits to workflow (#1863)
# Description Added signing commit mechanism to node image update workflow ## Type of change Please delete options that are not relevant. - Workflow fix (non-breaking change which fixes an issue) # Checklist: <!-- delete when not applicable to your PR --> - I have made neccessary updates to the workflows
- Loading branch information
1 parent
9ac1a96
commit a338fee
Showing
3 changed files
with
12 additions
and
1 deletion.
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
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 |
---|---|---|
|
@@ -85,6 +85,14 @@ jobs: | |
"aleph-node-validator-image-placeholder=${{ env.DEPLOY_IMAGE }}" | ||
done | ||
- name: Configure signing key | ||
# yamllint disable rule:line-length | ||
run: | | ||
echo ${{ secrets.AUTOCOMMIT_GPG_KEY_B64 }} | base64 -d > key.gpg | ||
gpg --import key.gpg | ||
rm key.gpg | ||
git config --global user.signingkey $(echo ${{ secrets.AUTOCOMMIT_GPG_KEY_FINGERPRINT }} | tail -c 17) | ||
- name: GIT | Commit changes to argocd apps repository. | ||
uses: EndBug/[email protected] | ||
env: | ||
|
@@ -94,4 +102,5 @@ jobs: | |
author_email: ${{ secrets.AUTOCOMMIT_EMAIL }} | ||
message: "Update ${{ inputs.env }} aleph-node tag ${{ env.TAG }}" | ||
add: "*.yaml" | ||
commit: -S | ||
cwd: ${{ secrets.REPO_ARGOCD_APPS_NAME }} |
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