1
0

fix(build): make sure the docker image can access go tools

This commit is contained in:
kolaente
2023-04-02 18:55:30 +02:00
parent 791a57d320
commit 01fb738dc8
2 changed files with 14 additions and 4 deletions

View File

@ -13,7 +13,8 @@ COPY . ./
ARG TARGETOS TARGETARCH TARGETVARIANT
RUN mage build:clean && \
RUN export PATH=$PATH:$GOPATH/bin && \
mage build:clean && \
mage release:xgo "${TARGETOS}/${TARGETARCH}/${TARGETVARIANT}"
# ┬─┐┬ ┐┌┐┐┌┐┐┬─┐┬─┐