From 987d15031921c3acf7e1057c42b21db88bc2671a Mon Sep 17 00:00:00 2001 From: maxime1907 Date: Tue, 16 Nov 2021 02:28:30 +0100 Subject: [PATCH] Add build script and update config --- build.sh | 5 +++++ config.env | 1 + 2 files changed, 6 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..9ac0813 --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +source config.env + +docker image build --build-arg DOCKER_HUB_USER=$DOCKER_HUB_USER --build-arg IMAGE_BUILD_DATE=$IMAGE_BUILD_DATE --build-arg IMAGE_VERSION=$IMAGE_VERSION --build-arg FILEGATOR_RELEASE=$FILEGATOR_RELEASE -t $DOCKER_HUB_USER/$IMAGE_NAME:$IMAGE_VERSION . diff --git a/config.env b/config.env index 38d3ca2..3c7fd22 100644 --- a/config.env +++ b/config.env @@ -2,3 +2,4 @@ DOCKER_HUB_USER=maxime1907 IMAGE_NAME=filegator IMAGE_VERSION=latest IMAGE_BUILD_DATE=`date +"%Y-%m-%dT%T"` +FILEGATOR_RELEASE=v7.7.0