diff options
author | Raphael <raphaelkabo@gmail.com> | 2020-11-05 10:33:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 10:33:58 +0000 |
commit | 050701f4af059f3c93bee3a973028e7e3ba3b16b (patch) | |
tree | b8e8e4bfe6cbfbf8c79b253c7803c1eeef2b4008 /hooks | |
parent | 6eae89562c56aa5d2b6fcd8435c2f85089b316b0 (diff) | |
parent | b514609f4fa319491d1956205d98012b5fc59d9d (diff) |
Merge pull request #53 from marklechtermann/volume
Added docker volume support for MongoDB
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/post_push | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/post_push b/hooks/post_push new file mode 100755 index 0000000..c3a2958 --- /dev/null +++ b/hooks/post_push @@ -0,0 +1,5 @@ +#!/bin/bash + +SHORTHASH="$(git rev-parse --short HEAD)" +docker tag $IMAGE_NAME $DOCKER_REPO:$SHORTHASH +docker push $DOCKER_REPO:$SHORTHASH
\ No newline at end of file |