👷 Dockerhub build hook

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
pull/45/head
mathieu.brunot 5 years ago
parent bb16ef3e1d
commit 3ec2275ae8
No known key found for this signature in database
GPG Key ID: 81584BEAF692D7E0

@ -0,0 +1,9 @@
#!/bin/bash
# See documentation for details:
# https://docs.docker.com/docker-hub/builds/advanced/
# Use $VERSION build environment variable or the Docker repository tag being built
version=${VERSION:-${DOCKER_TAG}}
docker build --build-arg VERSION=$version -f $DOCKERFILE_PATH -t $IMAGE_NAME .
Loading…
Cancel
Save