add run script
Build and Publish Docker Image / docker (push) Successful in 14s

This commit is contained in:
2026-07-13 13:49:41 +02:00
parent 97a59704f0
commit 66828b05ee
3 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -4,6 +4,8 @@ RUN dnf install -y git nodejs rsync \
&& dnf clean all
RUN curl -o /usr/bin/gitea-runner -L https://gitea.com/gitea/runner/releases/download/v2.0.1/gitea-runner-2.0.1-linux-amd64 \
&& chmod +x /usr/bin/gitea-runner
COPY run.sh /usr/bin/run.sh
RUN chmod +x /usr/bin/run.sh
# CMD ["/usr/bin/gitea-runner", "run", "--config", "/etc/gitea-runner/config.toml"]
CMD ["/usr/bin/gitea-runner", "run"]
CMD ["/usr/bin/run.sh"]
+4
View File
@@ -0,0 +1,4 @@
# Overview
run.sh is taken from the gitea-runner repository and is used to start the runner.
https://gitea.com/gitea/runner/src/branch/main/scripts/run.sh
View File