mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 15:58:14 +00:00
fix: pass in github token for mise ratelimits
This commit is contained in:
@@ -69,6 +69,7 @@ jobs:
|
||||
cache-to: type=gha,mode=max
|
||||
build-args: |
|
||||
IMAGE_TAG=ghcr.io/${{ github.repository }}:${{ matrix.tag }}
|
||||
MISE_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Attestation Provenance for ghcr.io/${{ github.repository }}:${{ matrix.tag }}
|
||||
uses: actions/attest-build-provenance@v2
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
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
|
||||
|
||||
FROM --platform=$BUILDPLATFORM mise-context AS go-build
|
||||
|
||||
Reference in New Issue
Block a user