Skip to content

Commit 3c5eef2

Browse files
authored
export EVN for imager (#8)
1 parent ac2bfba commit 3c5eef2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,13 @@ steps:
169169
env:
170170
SEGMENT_CONTEXTS: "aws-credentials,ecr"
171171
commands:
172-
# Determine environment based on branch/tag
172+
# Build and push Docker images using imager
173173
- |
174174
if [[ "${BUILDKITE_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
175175
ENV="prod"
176176
else
177177
ENV="stage"
178178
fi
179-
export ENV
180-
# Build and push Docker images using imager
181-
- |
182179
imager buildpush . -f Dockerfile.lambda -d "all-${ENV}" \
183180
--build-arg VERSION_REF=$(git describe --tags --always --dirty="-dev") \
184181
--destination-aliases regions.yaml \

0 commit comments

Comments
 (0)