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
8
8
# AWS_FOLDER is used for temporary output of publishing layers used to create the arn table. (Optional)
9
9
# 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)
10
10
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
+
11
17
export AWS_FOLDER=${AWS_FOLDER:- .aws}
12
18
FULL_LAYER_NAME=${ELASTIC_LAYER_NAME:? layer name not provided}
13
19
ALL_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:
104
104
docker build
105
105
-t docker.elastic.co/observability/apm-agent-python:${GITHUB_REF_NAME/v/}
106
106
--build-arg AGENT_DIR=./build/dist/package/python
107
+ .
107
108
- name : Docker push
108
109
run : docker push docker.elastic.co/observability/apm-agent-python:${GITHUB_REF_NAME/v/}
109
110
You can’t perform that action at this time.
0 commit comments