From bd3b551fd8220fd28a202ac851e036af6de0a678 Mon Sep 17 00:00:00 2001 From: gve Date: Fri, 19 Apr 2019 15:47:05 +0200 Subject: [PATCH] add post_push hook where we funnily enough can make tags? --- hooks/post_push | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 hooks/post_push diff --git a/hooks/post_push b/hooks/post_push new file mode 100644 index 0000000..0550b01 --- /dev/null +++ b/hooks/post_push @@ -0,0 +1,4 @@ +#!/bin/sh + +docker tag "$IMAGE_NAME" "$DOCKER_REPO:$SOURCE_COMMIT" +docker push "$DOCKER_REPO:$SOURCE_COMMIT"