Skip to content

Commit

Permalink
Use custom build phase hooks for hub.docker.com
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Feb 21, 2019
1 parent 981b3bc commit fd6dc16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .hub/Dockerfile
5 changes: 5 additions & 0 deletions .hub/hooks/post_checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
echo "=> Resolve symlinks"
dir="$(dirname "$BASH_SOURCE")/../"
rm -rf "$dir/Dockerfile"
cp -afLr "$dir/../latest/." "$dir"

0 comments on commit fd6dc16

Please sign in to comment.