prophunt-garrysmod/lgsm/hooks/pre_push
2019-10-17 12:38:20 +02:00

18 lines
408 B
Bash

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