zammad-docker-compose/hooks/push

17 lines
288 B
Plaintext
Raw Normal View History

#!/bin/bash
#
# build hook for dockerhubs autobuild feature
#
. "hooks/config"
2017-01-05 19:01:10 +00:00
#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