Recette pour la création de l'image basée sur blueimp/jQuery-File-Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

28 lines
494 B

#!/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 "${REPO2}" "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}"