zammad-docker-compose/hooks/push

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