feat(ci): pass BRANCH to Makefile for correct build tag

This commit is contained in:
yusing
2026-01-22 16:16:03 +08:00
parent 92598e05a2
commit 8ce821adb9
2 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ ENV VERSION=${VERSION}
ARG MAKE_ARGS
ENV MAKE_ARGS=${MAKE_ARGS}
ARG BRANCH
ENV BRANCH=${BRANCH}
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/go/pkg/mod \
make ${MAKE_ARGS} docker=1 build