Sign inSign up

viceo/github-runner-base

By viceo

•Updated almost 4 years ago

Base image to build Github's runners.

Image
0

85

viceo/github-runner-base repository overview

⁠How to build your own hosted runner

⁠Create YAML definition

FROM --platform=linux/amd64 viceo/github-runner-base
WORKDIR /github-runner

ARG NAME
ARG LABELS
ARG URL
ARG TOKEN

RUN ./config.sh --unattended \
    --name $NAME \
    --labels $LABELS \
    --url $URL \
    --token $TOKEN

ENTRYPOINT [ "/github-runner/run.sh" ] 

⁠Build using Docker's CLI

$ docker build \
   -t <your-tag> \
   --build-arg NAME=test-runner \
   --build-arg LABELS=test,runner,github \
   --build-arg URL=https://your-repo-url \
   --build-arg TOKEN=<token> \
   .  # Be sure to build where Dockerfile exists

⁠Github's runners releases

https://github.com/actions/runner/releases⁠

[v2.299.1] https://github.com/actions/runner/releases/tag/v2.299.1⁠

Tag summary

Content type

Image

Digest

sha256:6dfd08520…

Size

366.9 MB

Last updated

almost 4 years ago

docker pull viceo/github-runner-base:v2.299.1