init commit. protected runner data

This commit is contained in:
2026-04-13 22:33:24 +03:00
commit e67d3f0653
4 changed files with 61 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
*.runner
+15
View File
@@ -0,0 +1,15 @@
services:
runner-rust:
image: gitea-runner-rust
build: /home/basta/gitea-runners/dockerfiles/rust
container_name: rust-runner-gitea
volumes:
- gitea-runner-data:/data # named volume, has your .runner registration
- /home/basta/gitea-runners/rust-data/config.yml:/data/config.yml # your config override
- /var/run/docker.sock:/var/run/docker.sock # docker socket
network_mode: host
restart: unless-stopped
volumes:
gitea-runner-data:
external: true # tells compose this volume already exists, don't recreate it
+32
View File
@@ -0,0 +1,32 @@
FROM gitea/act_runner:latest
USER root
# Node for actions/checkout
RUN apk add --no-cache nodejs npm
# Rust build dependencies
RUN apk add --no-cache \
curl wget git \
build-base \
pkgconfig \
openssl-dev \
musl-dev \
bash
# Install Rust using bash explicitly
RUN wget -qO- https://sh.rustup.rs | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Common targets
RUN /root/.cargo/bin/rustup target add \
thumbv6m-none-eabi \
thumbv7em-none-eabihf \
thumbv8m.main-none-eabihf \
x86_64-unknown-linux-musl
# Rust components
RUN /root/.cargo/bin/rustup component add \
clippy rustfmt rust-docs
# cargo-audit for security checks
RUN /root/.cargo/bin/cargo install cargo-audit
+13
View File
@@ -0,0 +1,13 @@
runner:
fetch_timeout: 5m
fetch_interval: 2s
cache:
enabled: false
container:
network: host
docker_host: "-"
host:
workdir_parent: /tmp/runner-workdir