Skip to content

Commit

Permalink
add post_push hook
Browse files Browse the repository at this point in the history
where we funnily enough can make tags?
  • Loading branch information
krysopath committed Apr 19, 2019
1 parent 4038716 commit bd3b551
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

docker tag "$IMAGE_NAME" "$DOCKER_REPO:$SOURCE_COMMIT"
docker push "$DOCKER_REPO:$SOURCE_COMMIT"

0 comments on commit bd3b551

Please sign in to comment.