feat: add matrix build for release
This commit is contained in:
parent
d809eea564
commit
6d99aca058
3 changed files with 18 additions and 7 deletions
|
|
@ -1,9 +1,6 @@
|
|||
FROM --platform=$BUILDPLATFORM jdxcode/mise:latest AS mise-context
|
||||
COPY mise.toml .tool-versions ./
|
||||
|
||||
ARG MISE_GITHUB_TOKEN
|
||||
ENV MISE_GITHUB_TOKEN=${MISE_GITHUB_TOKEN:-}
|
||||
RUN mise install
|
||||
RUN --mount=type=secret,id=gh_token,env=MISE_GITHUB_TOKEN mise install
|
||||
|
||||
FROM --platform=$BUILDPLATFORM mise-context AS go-build
|
||||
WORKDIR /build/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue