Skip to content

Commit aa44999

Browse files
committed
Add hook for pushing latest after a sucessful build
This will help to update the same version when a tag is build Signed-off-by: solidnerd <[email protected]>
1 parent baff816 commit aa44999

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hooks/post_push

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -e
3+
4+
docker tag $IMAGE_NAME $DOCKER_REPO:latest
5+
docker push $DOCKER_REPO:latest

0 commit comments

Comments
 (0)