help renovate parse act version [CI SKIP]
Some checks failed
Build Develop Image / Notify (push) Blocked by required conditions
Build Develop Image / Build Image (push) Has been cancelled

This commit is contained in:
2024-02-17 16:23:10 +00:00
parent 95b679cf0e
commit 9e9c1dc5e8
2 changed files with 28 additions and 1 deletions

View File

@ -2,7 +2,10 @@ FROM golang:1.21-alpine3.18 as builder
# Do not remove `git` here, it is required for getting runner version when executing `make build`
RUN apk add --no-cache make git
RUN git clone --depth 1 --branch v0.2.6 https://gitea.com/gitea/act_runner /opt/src/act_runner
ARG ACT_VERSION=0.2.6
RUN git clone --depth 1 --branch v${ACT_VERSION} https://gitea.com/gitea/act_runner /opt/src/act_runner
WORKDIR /opt/src/act_runner
RUN make clean && make build