feat: Remove Docker Hub daemon

This commit is contained in:
Carlos Álvaro
2020-06-07 22:14:43 +02:00
parent 102fb6f853
commit d0076b1268

View File

@@ -1,12 +0,0 @@
#!/bin/bash
# Docker Daemon Build Hook
# $IMAGE_NAME var is injected into the build so the tag is correct.
docker pull "${DOCKER_REPO}:latest"
docker build \
--cache-from="${DOCKER_REPO}:latest" \
--build-arg=BUILD_DATE="$(date +"%Y-%m-%d %H:%M:%S%:z")" \
--build-arg=VCS_REF="$(git rev-parse --short HEAD)" \
-t "${IMAGE_NAME}" .