fix(build): fix release tag env in buildscript

Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
This commit is contained in:
Akhil Mohan 2020-11-12 21:16:46 +05:30 committed by Kiran Mova
parent fc4121e5e9
commit b0eee6f26f
2 changed files with 6 additions and 2 deletions

View file

@ -14,6 +14,8 @@
FROM golang:1.14.7 as build
ARG BRANCH
ARG RELEASE_TAG
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT=""
@ -23,7 +25,9 @@ ENV GO111MODULE=on \
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT} \
DEBIAN_FRONTEND=noninteractive \
PATH="/root/go/bin:${PATH}"
PATH="/root/go/bin:${PATH}" \
BRANCH=${BRANCH} \
RELEASE_TAG=${RELEASE_TAG}
WORKDIR /go/src/github.com/openebs/zfs-localpv/