mirror of
https://github.com/alrayyes/docker-alpine-hugo-git-bash
synced 2023-11-14 15:56:26 +00:00
fixed typo
This commit is contained in:
parent
3a19c7cf5b
commit
9891c0aa00
@ -9,7 +9,7 @@ ARG VCS_URL
|
|||||||
LABEL org.label-schema.build-date=$BUILD_DATE \
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||||
org.label-schema.vcs-url=$VCS_URL \
|
org.label-schema.vcs-url=$VCS_URL \
|
||||||
org.label-schema.vcs-ref=$VCS_REF \
|
org.label-schema.vcs-ref=$VCS_REF \
|
||||||
org.label-schema.schema-version="1.0.0-rc1"
|
org.label-schema.schema-version="1.0.0-rc1"
|
||||||
|
|
||||||
ENV HUGO_VERSION 0.26
|
ENV HUGO_VERSION 0.26
|
||||||
ENV HUGO_BINARY hugo_${HUGO_VERSION}_linux-64bit
|
ENV HUGO_BINARY hugo_${HUGO_VERSION}_linux-64bit
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# $IMAGE_NAME var is injected into the build so the tag is correct.
|
# $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 VCS_URL=`git config --get remote.origin.url` \
|
||||||
--build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` \
|
--build-arg BUILD_DATE=`date -u +”%Y-%m-%dT%H:%M:%SZ”` \
|
||||||
-t $IMAGE_NAME .
|
-t $IMAGE_NAME .
|
||||||
|
Loading…
Reference in New Issue
Block a user