# create an ECR repo
aws ecr create-repository --repository-name "workshop-$(whoami)"
# Tag image with the correct name for the intended repo
docker tag workshop-jfidlow-02 103233932089.dkr.ecr.us-east-1.amazonaws.com/workshop-jfidlow-02
# Push your latest image up to the repo
docker push 103233932089.dkr.ecr.us-east-1.amazonaws.com/"workshop-$(whoami)"
# Bring up the docker compose stack and exit with the liqubase runner's exit code
docker compose up --exit-code-from test-liquibase-runner
