File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ permissions:
19
19
jobs :
20
20
build :
21
21
runs-on : ubuntu-latest
22
- env :
23
- # TODO: use keyless
24
- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
25
- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
26
22
steps :
27
23
- uses : actions/checkout@v4
28
24
with :
29
25
fetch-depth : 0
30
26
27
+ -
uses :
elastic/oblt-actions/aws/[email protected]
28
+ with :
29
+ aws-account-id : " 267093732750"
30
+
31
31
- name : Validate GitHub release is not available yet
32
32
run : |
33
33
if gh release view "${{ github.ref_name }} > /dev/null ; then
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ publishers:
88
88
env :
89
89
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
90
90
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
91
+ - AWS_SESSION_TOKEN={{ .Env.AWS_SESSION_TOKEN }}
91
92
- ELASTIC_LAYER_NAME=elastic-apm-extension-ver-{{ replace (trimprefix .Tag "v") "." "-" }}
92
93
- VERSION={{ .Tag }}
93
94
- ARCHITECTURE={{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
@@ -101,4 +102,4 @@ release:
101
102
# creates SBOMs of all archives and the source tarball using syft
102
103
# https://goreleaser.com/customization/sbom
103
104
sboms :
104
- - artifacts : archive
105
+ - artifacts : archive
You can’t perform that action at this time.
0 commit comments