File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,8 @@ workflows:
320
320
path : workspace
321
321
extra_build_args : >-
322
322
--build-arg NPM_TOKEN=${NPM_TOKEN}
323
- --build-arg=${CIRCLE_SHA1:0:7}
323
+ --build-arg ${CIRCLE_SHA1:0:7}
324
+ --build-arg=TEST='This is a test'
324
325
set_repo_policy : true
325
326
repo_policy_path : ./sample/repo-policy.json
326
327
executor : amd64
Original file line number Diff line number Diff line change @@ -15,5 +15,4 @@ parameters:
15
15
machine :
16
16
image : <<parameters.image>>
17
17
docker_layer_caching : <<parameters.docker_layer_caching>>
18
-
19
18
resource_class : <<parameters.resource_class>>
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+
2
3
AWS_ECR_EVAL_REGION=" $( eval echo " ${AWS_ECR_STR_REGION} " ) "
3
4
AWS_ECR_EVAL_REPO=" $( eval echo " ${AWS_ECR_STR_REPO} " ) "
4
5
AWS_ECR_EVAL_TAG=" $( eval echo " ${AWS_ECR_STR_TAG} " ) "
@@ -17,11 +18,14 @@ AWS_ECR_EVAL_LIFECYCLE_POLICY_PATH="$(eval echo "${AWS_ECR_STR_LIFECYCLE_POLICY_
17
18
BUILDX_NO_DEFAULT_ATTESTATIONS=1
18
19
19
20
if [ -n " ${AWS_ECR_STR_EXTRA_BUILD_ARGS} " ]; then
20
- IFS=" " read -a args -r <<< " ${AWS_ECR_STR_EXTRA_BUILD_ARGS[@]}"
21
+ args=()
22
+ # shellcheck disable=SC2086
23
+ eval ' for p in ' $AWS_ECR_STR_EXTRA_BUILD_ARGS ' ; do args+=("$p"); done'
21
24
for arg in " ${args[@]} " ; do
22
25
set -- " $@ " " $arg "
23
26
done
24
27
fi
28
+
25
29
ECR_COMMAND=" ecr"
26
30
number_of_tags_in_ecr=0
27
31
You can’t perform that action at this time.
0 commit comments