Skip to content

Commit 7fad283

Browse files
docker build kit
1 parent 586b85a commit 7fad283

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

buildspec/merge_master.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: 0.2
22
phases:
33
pre_build:
44
commands:
5+
- export DOCKER_BUILDKIT=1
56
- echo Logging in to Amazon ECR...
67
- aws ecr get-login-password --region ${AWS_DEFAULT_REGION} | docker login --username AWS --password-stdin ${FIPS_REPOSITORY_URI}
78
- export ECR_ACCOUNT_ID="$(echo $FIPS_REPOSITORY_URI | cut -d'.' -f1)"

buildspec/push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 0.2
22
phases:
3+
pre_build:
4+
commands:
5+
- export DOCKER_BUILDKIT=1
36
build:
47
commands:
58
- echo Logging in to Amazon ECR...

buildspec/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11

22
version: 0.2
33
phases:
4+
pre_build:
5+
commands:
6+
- export DOCKER_BUILDKIT=1
47
build:
58
commands:
69
- echo Logging in to Amazon ECR...

0 commit comments

Comments
 (0)