Skip to content

Commit 436c7f5

Browse files
committed
Add AWS credentials
1 parent b2eda44 commit 436c7f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- "v*.*.*"
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
test:
1013
uses: ./.github/workflows/test.yml
@@ -45,6 +48,15 @@ jobs:
4548
publish-lambda-layers:
4649
runs-on: ubuntu-latest
4750
steps:
51+
- uses: hashicorp/[email protected]
52+
with:
53+
url: ${{ secrets.VAULT_ADDR }}
54+
method: approle
55+
roleId: ${{ secrets.VAULT_ROLE_ID }}
56+
secretId: ${{ secrets.VAULT_SECRET_ID }}
57+
secrets: |
58+
secret/observability-team/ci/service-account/apm-agent-python access_key_id | AWS_ACCESS_KEY_ID ;
59+
secret/observability-team/ci/service-account/apm-agent-python secret_access_key | AWS_SECRET_ACCESS_KEY
4860
- name: Build lambda layer zip
4961
run: ./dev-utils/make-distribution.sh
5062
- name: Publish lambda layers to AWS

0 commit comments

Comments
 (0)