File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ set -euo pipefail
88# AWS_FOLDER is used for temporary output of publishing layers used to create the arn table. (Optional)
99# ELASTIC_LAYER_NAME is the name of the lambda layer e.g. elastic-apm-python-ver-3-44-1 for the git tag v3.44.1 (Required)
1010
11+
12+ # This needs to be set in GH actions
13+ # https://dotjoeblog.wordpress.com/2021/03/14/github-actions-aws-error-exit-code-255/
14+ # eu-west-1 is just a random region
15+ export AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION:- eu-west-1}
16+
1117export AWS_FOLDER=${AWS_FOLDER:- .aws}
1218FULL_LAYER_NAME=${ELASTIC_LAYER_NAME:? layer name not provided}
1319ALL_AWS_REGIONS=$( aws ec2 describe-regions --output json --no-cli-pager | jq -r ' .Regions[].RegionName' )
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ jobs:
104104 docker build
105105 -t docker.elastic.co/observability/apm-agent-python:${GITHUB_REF_NAME/v/}
106106 --build-arg AGENT_DIR=./build/dist/package/python
107+ .
107108 - name : Docker push
108109 run : docker push docker.elastic.co/observability/apm-agent-python:${GITHUB_REF_NAME/v/}
109110
You can’t perform that action at this time.
0 commit comments