Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa44999

Browse filesBrowse 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 <niclas@mietz.io>
1 parent baff816 commit aa44999
Copy full SHA for aa44999

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎hooks/post_push

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.