prophunt-garrysmod/lgsm/hooks/pre_push

14 lines
429 B
Plaintext
Raw Normal View History

2019-10-15 16:29:50 +02:00
#!/bin/sh
#set -o errexit
#set -o pipefail
#set -o nounset
2019-10-17 01:00:04 +02:00
#docker build -t "$DOCKER_REPO:lgsm_debian" "lgsm/"
2019-10-17 12:11:25 +02:00
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"
2019-10-17 12:11:25 +02:00
docker push "$DOCKER_REPO:gmod_debian"
docker push "$DOCKER_REPO:gmod_ttt_debian"