mirror of
https://github.com/alrayyes/docker-alpine-hugo-git-bash
synced 2023-11-14 15:56:26 +00:00
fixed build vcs_ref & added buttons to readme
This commit is contained in:
parent
bf936b20d9
commit
cf2f8e136f
10
README.md
10
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
|
||||
|
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user