update act.
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 32s

This commit is contained in:
amass 2024-06-18 23:51:20 +08:00
parent e489058393
commit fdc9388b9c

View File

@ -1,13 +1,15 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
LABEL maintainer="amass <168062547@qq.com>"
ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list \
ENV ACT_VERSION 0.2.10
RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list.d/ubuntu.sources \
&& apt update \
&& apt install -y ca-certificates curl git tini \
&& curl https://gitea.com/gitea/act_runner/releases/download/v0.2.6/act_runner-0.2.6-linux-amd64 -o /usr/local/bin/act_runner \
&& curl https://gitea.com/gitea/act_runner/releases/download/v${ACT_VERSION}/act_runner-${ACT_VERSION}-linux-amd64 -o /usr/local/bin/act_runner \
&& chmod +x /usr/local/bin/act_runner \
&& install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
@ -21,4 +23,5 @@ COPY resources/act_runner.sh /opt/act/run.sh
ENTRYPOINT ["tini","--","/opt/act/run.sh"]
# docker build --progress tty -f act_runner.dockerfile -t act_runner:develop .
# docker build --progress tty -f act_runner.dockerfile -t act_runner:0.2.10 .
# docker tag act_runner:0.2.10 frp-by1.wwvvww.cn:45288/act_runner:0.2.10