From 35cebdebce4ccd8f49e427221f212755579b9601 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Fri, 10 Mar 2023 11:57:28 -0500 Subject: [PATCH] correct develop builder. --- build_develop.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/build_develop.sh b/build_develop.sh index 47bbde2..abd2e50 100755 --- a/build_develop.sh +++ b/build_develop.sh @@ -2,16 +2,6 @@ # this file is intended to build the docker image and push to the correct repository. Intended to be run by my buildbot instance. -# first just build, tag, and push +# build, tag, and push develop docker build -t viker.cheezers.net:5000/agon:develop . -docker push viker.cheezers.net:5000/agon:develop - -# check if there is a git tag. if so, tag with that tag and push again -# expecting tag to be 6 characters long. otherwise isn't not the right tag -GITTAG=$(git describe --tags) -length=${#GITTAG} - -if [ $length -eq 6 ]; then - docker build -t viker.cheezers.net:5000/agon:$GITTAG . - docker push viker.cheezers.net:5000/agon:$GITTAG -fi \ No newline at end of file +docker push viker.cheezers.net:5000/agon:develop \ No newline at end of file