chore(docker): adds labels

This commit is contained in:
Gareth Flowers 2019-10-16 17:13:47 +01:00 committed by GitHub
parent cc4c18f534
commit ce7b2108bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
hooks/build Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--file $DOCKERFILE_PATH \
--tag $IMAGE_NAME \
.