From 612146d4a91fbaa6012938202ee75d3b61c0b62f Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Tue, 15 Oct 2019 16:29:50 +0200 Subject: [PATCH] + docker automated build hook --- hooks/pre_push | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hooks/pre_push diff --git a/hooks/pre_push b/hooks/pre_push new file mode 100644 index 0000000..a22fc55 --- /dev/null +++ b/hooks/pre_push @@ -0,0 +1,10 @@ +#!/bin/sh + +#set -o errexit +#set -o pipefail +#set -o nounset + +docker build -t "$DOCKER_REPO:lgsm_debian" "lgsm/" +docker build -t "$DOCKER_REPO:gmod_debian" "gmod/" +docker build -t "$DOCKER_REPO:gmod_ttt_debian" "TTT/" +docker build -t "$DOCKER_REPO:latest" "TTT/"