2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
It may not matter much, but why not try surrounding the variable with double quotes?
I can't say for sure because I haven't seen the error message, but the variables may not be expanded properly.
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
0
IMHO Secrets Manager would be a better option.
AWS Secrets Manager AWS System Manager Parameter Store
https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html
answered 2 years ago
Relevant content
- asked 3 years ago
