zammad-docker-compose/hooks/push
2017-01-05 20:02:12 +01:00

15 lines
279 B
Bash
Executable File

#!/bin/bash
#
# build hook for dockerhubs autobuild feature
#
. "hooks/config"
for DOCKER_IMAGE in ${DOCKER_IMAGES}; do
echo "Push Zammad Docker image ${DOCKER_IMAGE} to DockerHubs ${DOCKER_REPO}:${DOCKER_IMAGE} repo"
docker push ${DOCKER_REPO}:${DOCKER_IMAGE}
done