backend_and_cms/scripts/build-push.sh

11 lines
189 B
Bash
Raw Permalink Normal View History

2024-09-17 12:11:39 +08:00
#! /usr/bin/env sh
# Exit in case of error
set -e
TAG=${TAG?Variable not set} \
FRONTEND_ENV=${FRONTEND_ENV-production} \
sh ./scripts/build.sh
docker-compose -f docker-compose.yml push