help renovate parse act version [CI SKIP]

This commit is contained in:
2024-02-17 16:23:10 +00:00
parent be9b2b2678
commit f1a61a407e
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