diff --git a/hooks/push b/hooks/push index 0cb772a..17ba781 100755 --- a/hooks/push +++ b/hooks/push @@ -2,6 +2,8 @@ set -e +docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}" + images=$(docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}"); for image in ${images}; diff --git a/hooks/test b/hooks/test index 8dd1b45..1099a90 100755 --- a/hooks/test +++ b/hooks/test @@ -2,6 +2,10 @@ set -e +echo "Test Hook is starting" + +docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}" + images=$(docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}"); for image in ${images};