I have a requirement to group my ECR images based on a department. Currently we are in one single AWS account and we plan to have deployments to different regions within this AWS account. I have a repository in ECR which resembles this 512234521735.dkr.ecr.us-west-2.amazonaws.com/finance where finance (department) is the repository name. All members within the ..
I am trying to run the following script from docker (based on alpine image) #!/bin/sh echo “test” export USERNAME=”AQICAHj456mvH8iSJofL46Xtr7KP6Ng3Vn5k6BpZbkAAAAZTBjBgkqhkiG9w0BBwagVjBUAgEAME8GCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMwCm8C+wSLRm/+sSuAgEQgCJHCFbrIwCQuH0x2iGp13j9SuxMtfrcE6c4SmrHRVkkX24f” export AWS_REGION=”us-east-1″ echo “$AWS_REGION” decrypt=$(aws kms decrypt –ciphertext-blob fileb://<(echo “$USERNAME” | base64 -d)) export $key=”$(echo $decrypt | jq .Plaintext -r | base64 -d)” exec “[email protected]” I am getting the below output test us-east-1 /bin/entrypoint.sh: line 9: ..