Skip to content

Commit 257ac12

Browse files
authored
Install just (#1)
1 parent a91e0b7 commit 257ac12

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build_runner:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
packages: write
12+
attestations: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: extractions/setup-just@v1
16+
- name: Docker build
17+
run: just build

dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/actions/actions-runner:2.320.0
1+
FROM ghcr.io/actions/actions-runner:2.321.0
22

33
USER root
44

@@ -19,8 +19,11 @@ RUN apt-get install -y --no-install-recommends \
1919
unzip \
2020
pkg-config \
2121
apt-transport-https \
22-
ca-certificates && \
23-
rm -rf /var/lib/apt/lists/*
22+
ca-certificates \
23+
&& rm -rf /var/lib/apt/lists/*
24+
25+
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
26+
RUN just --version
2427

2528
# Copy the start script and make it executable
2629
COPY start.sh /start.sh

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
IMAGE_NAME:="ghcr.io/rustunit/github-runner"
3-
IMAGE_TAG:="0.1.0"
3+
IMAGE_TAG:="0.2.0"
44

55
build:
66
docker build -t {{IMAGE_NAME}}:latest .

0 commit comments

Comments
 (0)