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

17 lines
288 B
Bash
Executable File

#!/bin/bash
#
# build hook for dockerhubs autobuild feature
#
. "hooks/config"
#exit 0
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