prophunt-garrysmod/lgsm/hooks/pre_push
2019-10-17 12:24:42 +02:00

16 lines
437 B
Bash

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