prophunt-garrysmod/lgsm/hooks/pre_push

12 lines
354 B
Bash

#!/bin/sh
#set -o errexit
#set -o pipefail
#set -o nounset
#docker build -t "$DOCKER_REPO:lgsm_debian" "lgsm/"
docker build -f gmod/Dockerfile -t "$DOCKER_REPO:gmod_debian" "gmod/"
docker build -f TTT/Dockerfile -t "$DOCKER_REPO:gmod_ttt_debian" "TTT/"
docker tag "$DOCKER_REPO:gmod_ttt_debian" "$DOCKER_REPO:latest"
docker push "$DOCKER_REPO:latest"