Add post_push docker hook, fixes #8

This commit is contained in:
Jason Kendall 2020-02-12 09:03:47 -05:00
parent 8dcfb9744d
commit 978e1d2828
2 changed files with 8 additions and 0 deletions

4
modules/hooks/post_push Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
docker tag $IMAGE_NAME $DOCKER_REPO:latest
docker push $DOCKER_REPO:latest

4
server/hooks/post_push Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
docker tag $IMAGE_NAME $DOCKER_REPO:latest
docker push $DOCKER_REPO:latest