Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ci

on:
pull_request:

jobs:
build_runner:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- name: Docker build
run: just build
9 changes: 6 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/actions/actions-runner:2.320.0
FROM ghcr.io/actions/actions-runner:2.321.0

USER root

Expand All @@ -19,8 +19,11 @@ RUN apt-get install -y --no-install-recommends \
unzip \
pkg-config \
apt-transport-https \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
RUN just --version

# Copy the start script and make it executable
COPY start.sh /start.sh
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

IMAGE_NAME:="ghcr.io/rustunit/github-runner"
IMAGE_TAG:="0.1.0"
IMAGE_TAG:="0.2.0"

build:
docker build -t {{IMAGE_NAME}}:latest .
Expand Down
Loading