diff --git a/README.md b/README.md index 46e86a6..14da036 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ -[![](https://images.microbadger.com/badges/image/andthensome/alpine-hugo-git-bash.svg)](http://microbadger.com/images/andthensome/alpine-hugo-git-bash "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/andthensome/alpine-hugo-git-bash.svg)](http://microbadger.com/images/andthensome/alpine-hugo-git-bash "Get your own version badge on microbadger.com") [![Build Status](https://travis-ci.org/alrayyes/docker-alpine-hugo-git-bash.svg?branch=master)](https://travis-ci.org/alrayyes/docker-alpine-hugo-git-bash) - # Docker Alpine Hugo Git Bash +## Docker Image + +[![](https://images.microbadger.com/badges/image/andthensome/alpine-hugo-git-bash.svg)](http://microbadger.com/images/andthensome/alpine-hugo-git-bash "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/andthensome/alpine-hugo-git-bash.svg)](http://microbadger.com/images/andthensome/alpine-hugo-git-bash "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/commit/andthensome/alpine-hugo-git-bash.svg)](https://microbadger.com/images/andthensome/alpine-hugo-git-bash "Get your own commit badge on microbadger.com") + +## Build + +[![Build Status](https://travis-ci.org/alrayyes/docker-alpine-hugo-git-bash.svg)](https://travis-ci.org/alrayyes/docker-alpine-hugo-git-bash) + Minimal container with [Hugo](https://gohugo.io), Git & Bash installed. Built to be used with [wercker](http://wercker.com/). Leverages [alpine](https://hub.docker.com/_/alpine/) base image. ## Usage diff --git a/hooks/build b/hooks/build index ae38d61..0425c8d 100644 --- a/hooks/build +++ b/hooks/build @@ -2,7 +2,7 @@ # $IMAGE_NAME var is injected into the build so the tag is correct. -docker build --build-arg VCS_REF=`git rev-parse —short HEAD` \ +docker build --build-arg VCS_REF=`git rev-parse —-short HEAD` \ --build-arg VCS_URL=`git config --get remote.origin.url` \ --build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` \ -t $IMAGE_NAME .