Skip to content

Commit

Permalink
Use keyless authentication in release (#4109)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored and trentm committed Nov 4, 2024
1 parent 0e4f53c commit 323967a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ permissions:
jobs:
release:
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:
Expand All @@ -38,6 +34,10 @@ jobs:

- run: make -C .ci push-docker

- uses: elastic/oblt-actions/aws/auth@v1.10.0
with:
aws-account-id: "267093732750"

- name: Publish AWS lambda
run: make -C .ci publish-in-all-aws-regions create-arn-file
env:
Expand Down

0 comments on commit 323967a

Please sign in to comment.