Skip to content

Commit d98c84e

Browse files
committed
Pass AWS_SESSION_TOKEN to goreleaser publisher
1 parent fee3151 commit d98c84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.goreleaser.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ publishers:
8888
env:
8989
- AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
9090
- AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
91+
- AWS_SESSION_TOKEN={{ .Env.AWS_SESSION_TOKEN }}
9192
- ELASTIC_LAYER_NAME=elastic-apm-extension-ver-{{ replace (trimprefix .Tag "v") "." "-" }}
9293
- VERSION={{ .Tag }}
9394
- ARCHITECTURE={{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
@@ -101,4 +102,4 @@ release:
101102
# creates SBOMs of all archives and the source tarball using syft
102103
# https://goreleaser.com/customization/sbom
103104
sboms:
104-
- artifacts: archive
105+
- artifacts: archive

0 commit comments

Comments
 (0)