Initial commit

This commit is contained in:
Jochen Schalanda 2018-02-23 19:01:52 +01:00
commit c36fc42e9c
No known key found for this signature in database
GPG key ID: 2FC1B61A8D1F4BB0
6 changed files with 389 additions and 0 deletions

9
hooks/build Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Custom build for Docker Hub
# see: https://medium.com/microscaling-systems/labelling-automated-builds-on-docker-hub-f3d073fb8e1
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=$GIT_SHA1 \
--build-arg VERSION=$DOCKER_TAG \
--tag $IMAGE_NAME .