-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use keyless authentication for the release (#495)
* Use keyless authentication for the releasee * Pass AWS_SESSION_TOKEN to goreleaser publisher
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 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 |
---|---|---|
|
@@ -19,15 +19,15 @@ permissions: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
# TODO: use keyless | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: elastic/oblt-actions/aws/[email protected] | ||
with: | ||
aws-account-id: "267093732750" | ||
|
||
- name: Validate GitHub release is not available yet | ||
run: | | ||
if gh release view "${{ github.ref_name }} > /dev/null ; then | ||
|
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