Skip to content

Commit

Permalink
Add build script and update config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 committed Nov 16, 2021
1 parent 1ca6b66 commit 987d150
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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 .
1 change: 1 addition & 0 deletions config.env
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 987d150

Please sign in to comment.