14 lines
387 B
Bash
Executable File
14 lines
387 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# build hook for dockerhubs autobuild feature
|
|
#
|
|
|
|
. "hooks/config"
|
|
|
|
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
|
|
|
|
echo "Build Zammad Docker image ${DOCKER_IMAGE} for DockerHubs ${DOCKER_REPO}:${DOCKER_IMAGE} repo"
|
|
docker build --no-cache --build-arg BUILD_DATE=$(date -u +”%Y-%m-%dT%H:%M:%SZ”) -t ${DOCKER_REPO}:${DOCKER_IMAGE} -f Dockerfile.${DOCKER_IMAGE} .
|
|
|
|
done
|