We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00f044a + 26dea5f commit 08770f8Copy full SHA for 08770f8
src/scripts/ecr_login.sh
@@ -38,9 +38,10 @@ configure_config_json(){
38
if [ ! -s "${CONFIG_FILE}" ]; then
39
jq_flag="-n"
40
fi
41
- jq "${jq_flag}" --arg url "${AWS_ECR_VAL_ACCOUNT_URL}" \
42
- --arg helper "ecr-login" '.credHelpers[$url] = $helper' \
43
- "${CONFIG_FILE}" > temp.json && mv temp.json "${CONFIG_FILE}"
+
+ jq ${jq_flag} --arg url "${AWS_ECR_VAL_ACCOUNT_URL}" \
+ --arg helper "ecr-login" '.credHelpers[$url] = $helper' \
44
+ "${CONFIG_FILE}" > temp.json && mv temp.json "${CONFIG_FILE}"
45
}
46
47
install_aws_ecr_credential_helper(){
0 commit comments