Skip to content

Commit

Permalink
show all vars in docker hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
krysopath committed Apr 20, 2019
1 parent d046b46 commit 0b3a9ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hooks/post_push
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 0b3a9ec

Please sign in to comment.