[BUG] Why COLOR_GATEWAY_IMAGE is creating without region(even hardcoded) attached to it
prasadnh opened this issue · comments
Important note on security disclosures: If you think you’ve found a potential security issue, please do not post it in the Issues. Instead, please follow the instructions here or email AWS security directly.
Describe the bug
I was trying to run deploy.sh of gateway/colorteller, creating image without region in the name attached to the string.
Platform
ECR/APPMesh
To Reproduce
Steps to reproduce the behavior:
- Go to '...' gitdir/aws-app-mesh-examples/examples/apps/colorapp/src/gateway
- '....' run ./deploy.sh
Note: I have hardcoded the values by adding region. still when i run ./deploy.sh, its creating image
COLOR_GATEWAY_IMAGE=.dkr.ecr.amazonaws.com/gateway:latest
Expected behavior
COLOR_GATEWAY_IMAGE=<acc_id>.dkr.ecr.us-east-1.amazonaws.com/gateway:latest
current behavior:
docker push <acc_id>.dkr.ecr.amazonaws.com/gateway:latest
The push refers to repository [<acc_id>.dkr.ecr.amazonaws.com/gateway]
Get https://<acc_id>.dkr.ecr.amazonaws.com/v2/: Bad Gateway
Config files, and API responses
If applicable config files and responses from our API.
Additional context
Add any other context about the problem here.
manually ran docker tag to fix this issue