File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export SUFFIX_ARN_FILE=${SUFFIX_ARN_FILE:-arn-file.md}
1414# eu-west-1 is just a random region
1515export AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION:- eu-west-1}
1616
17+ printenv
1718GOOS=${GOOS:? Please provide GOOS environment variable.}
1819GOARCH=${GOARCH:? Please provide GOARCH environment variable.}
1920ELASTIC_LAYER_NAME=${ELASTIC_LAYER_NAME:? Please provide ELASTIC_LAYER_NAME environment variable.}
Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ publishers:
8888 - AWS_SESSION_TOKEN={{ .Env.AWS_SESSION_TOKEN }}
8989 - ELASTIC_LAYER_NAME=elastic-apm-extension-ver-{{ replace (trimprefix .Tag "v") "." "-" }}
9090 - VERSION={{ .Tag }}
91- - ARCHITECTURE={{ if eq .Runtime.Goarch "amd64" }}x86_64{{ else }}{{ .Runtime.Goarch }}{{ end }}
92- - GOOS={{ .Runtime.Goos }}
93- - GOARCH={{ .Runtime.Goarch }}
94- - AWS_FOLDER=.aws-{{ .Runtime.Goos }}-{{ .Runtime.Goarch }}
91+ - ARCHITECTURE={{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
92+ - GOOS={{ .Os }}
93+ - GOARCH={{ .Arch }}
94+ - AWS_FOLDER=.aws-{{ .Os }}-{{ .Arch }}
9595release :
9696 # Custom GitHub release
9797 disable : true
You can’t perform that action at this time.
0 commit comments