๐Ÿ“ฆ anna-geller / packaging-prefect-flows

๐Ÿ“„ commands.bash ยท 9 lines
1
2
3
4
5
6
7
8
9docker build -t community .
# to check the files in the container
docker run --rm -it community
aws ecr create-repository --repository-name community --image-scanning-configuration scanOnPush=true

docker tag community:latest 123456789.dkr.ecr.eu-central-1.amazonaws.com/community:latest
aws ecr get-login-password | docker login --username AWS --password-stdin 123456789.dkr.ecr.eu-central-1.amazonaws.com
docker push 123456789.dkr.ecr.eu-central-1.amazonaws.com/community:latest