File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ workflows:
184
184
context : [CPE-OIDC]
185
185
dockerfile : sample/Dockerfile
186
186
path : workspace
187
- extra_build_args : --cache-to type=local,dest=/tmp
187
+ extra_build_args : --cache-to type=local,dest=/tmp --compress
188
188
push_image : false
189
189
executor : amd64
190
190
filters : *filters
@@ -312,7 +312,7 @@ workflows:
312
312
profile_name : " OIDC-User"
313
313
context : [CPE-OIDC]
314
314
workspace_root : workspace
315
- repo : aws-ecr-orb-${CIRCLE_SHA1:0:7 }-skip_when_tags_exist-<<matrix.executor>>
315
+ repo : aws-ecr-orb-${CIRCLE_SHA1}-skip_when_tags_exist-<<matrix.executor>>
316
316
tag : integration,myECRRepoTag
317
317
dockerfile : sample/Dockerfile
318
318
path : workspace
Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ ORB_STR_PROFILE_NAME="$(circleci env subst "${ORB_STR_PROFILE_NAME}")"
14
14
ORB_STR_PLATFORM=" $( circleci env subst " ${ORB_STR_PLATFORM} " ) "
15
15
ORB_STR_LIFECYCLE_POLICY_PATH=" $( circleci env subst " ${ORB_STR_LIFECYCLE_POLICY_PATH} " ) "
16
16
17
+
18
+ if [ -n " ${ORB_STR_EXTRA_BUILD_ARGS} " ]; then
19
+ IFS=" " read -a args -r <<< " ${ORB_STR_EXTRA_BUILD_ARGS[@]}"
20
+ for arg in " ${args[@]} " ; do
21
+ set -- " $@ " " $arg "
22
+ done
23
+ fi
17
24
ECR_COMMAND=" ecr"
18
25
number_of_tags_in_ecr=0
19
26
80
87
${docker_tag_args: +$docker_tag_args } \
81
88
--platform " ${ORB_STR_PLATFORM} " \
82
89
--progress plain \
83
- ${ORB_STR_EXTRA_BUILD_ARGS: +$ORB_STR_EXTRA_BUILD_ARGS } \
84
90
" $@ " \
85
91
" ${ORB_EVAL_BUILD_PATH} "
86
92
set +x
You can’t perform that action at this time.
0 commit comments