From ffdcb8bd30268dd24d7370cc1b9c21140c71f0ee Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Wed, 8 Jan 2020 10:43:23 -0500 Subject: [PATCH] useless --- update.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 update.sh diff --git a/update.sh b/update.sh deleted file mode 100644 index 79b93a1..0000000 --- a/update.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -set -o pipefail -o nounset -o errexit - -REPO="ssh://git@gitlab.cabillot.eu:2224/www/dl.git" -REPO2="https://github.com/blueimp/jQuery-File-Upload.git" -TAG="registry.cabillot.eu/www/dl" - -( - if [[ ! -d "build/" ]] - then - git clone "${REPO}" "build/" - fi - - cd "build/" - git pull - - if [[ ! -d "src" ]] - then - git clone "${REPO2}" "src" - fi - - cd "src" - git pull -) - -docker build --no-cache=true -t "${TAG}" build/ -docker push "${TAG}" \ No newline at end of file