Try "-b 0" for docker base64

This commit is contained in:
Mustafa Gezen 2022-11-01 04:31:21 +01:00
parent aea228f816
commit 8b2c65990a
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -12,7 +12,7 @@ return_if_impacted_targets_empty
aws eks --region us-east-2 update-kubeconfig --name peridot-T8WbrA
AWS_JWT="$(aws ecr get-login-password --region us-east-2)"
B64_AWS_AUTH="$(echo -n "AWS:$AWS_JWT" | base64)"
B64_AWS_AUTH="$(echo -n "AWS:$AWS_JWT" | base64 -b 0)"
mkdir -p ~/.docker
echo '{"auths":{"893168113496.dkr.ecr.us-east-2.amazonaws.com":{"auth":"'"$B64_AWS_AUTH"'"}}}' > ~/.docker/config.json