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