feat: add tagged deployment rollback
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-09 16:25:01 -04:00
parent 8fed5f21f7
commit ae1bffeaa0
4 changed files with 49 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
: "${RELEASE_TAG:?Set RELEASE_TAG to an immutable image tag}"
compose_args='-f compose.production.yaml'
export IMAGE_TAG="$RELEASE_TAG"
docker compose $compose_args build api worker web
docker compose $compose_args up -d postgres redis
docker compose $compose_args run --rm api npm run db:migrate
docker compose $compose_args up -d api worker web
docker compose $compose_args ps