Running goose migrations as a one-off ECS task before updating the service
Running goose up in the container start command means every new ECS task migrates on boot. Here is how I moved migrations into a one-off ECS task in GitHub Actions that must exit 0 before the service gets the new image.