Removing build-args, using env vars instead

This commit is contained in:
cbrgm 2018-08-08 21:38:43 +02:00
parent 5003a98020
commit b686d1f154
3 changed files with 6 additions and 6 deletions

View File

@ -5,8 +5,8 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.vendor="Drone.IO Community" \ org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0" org.label-schema.schema-version="1.0"
ARG HUGO_VERSION ENV HUGO_VERSION=0.46
ARG HUGO_ARCH ENV HUGO_ARCH=64bit
ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH
ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION

View File

@ -5,8 +5,8 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.vendor="Drone.IO Community" \ org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0" org.label-schema.schema-version="1.0"
ARG HUGO_VERSION ENV HUGO_VERSION=0.46
ARG HUGO_ARCH ENV HUGO_ARCH=arm
ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH
ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION

View File

@ -5,8 +5,8 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.vendor="Drone.IO Community" \ org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0" org.label-schema.schema-version="1.0"
ARG HUGO_VERSION ENV HUGO_VERSION=0.46
ARG HUGO_ARCH ENV HUGO_ARCH=arm64
ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH
ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION