From 0b3a9ec5e1afdae6c09dae3c33a6d29761a83ce8 Mon Sep 17 00:00:00 2001 From: gve Date: Sat, 20 Apr 2019 14:46:18 +0200 Subject: [PATCH] show all vars in docker hooks --- hooks/post_push | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hooks/post_push b/hooks/post_push index 0550b01..a4281a4 100644 --- a/hooks/post_push +++ b/hooks/post_push @@ -1,4 +1,12 @@ #!/bin/sh +echo $SOURCE_BRANCH +echo $SOURCE_COMMIT +echo $COMMIT_MSG +echo $DOCKER_REPO +echo $DOCKERFILE_PATH +echo $DOCKER_TAG +echo $IMAGE_NAME + docker tag "$IMAGE_NAME" "$DOCKER_REPO:$SOURCE_COMMIT" docker push "$DOCKER_REPO:$SOURCE_COMMIT"