We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7431c26 commit 449de9fCopy full SHA for 449de9f
hooks/post_push
@@ -0,0 +1,5 @@
1
+#!/bin/bash
2
+# Tag and push image built with the git commit id
3
+TAG="${SOURCE_COMMIT:0:7}"
4
+docker tag "$IMAGE_NAME" "$DOCKER_REPO":"$TAG"
5
+docker push "$DOCKER_REPO":"$TAG"
0 commit comments