Skip to content

Commit 77ae001

Browse files
committed
Add CI image for debian-12
1 parent 709eb30 commit 77ae001

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ghcr-debian-12
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
paths:
8+
- "linux/debian-12/**"
9+
10+
jobs:
11+
update-image:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
packages: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: log in to GHCR
20+
uses: docker/login-action@v3
21+
with:
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
25+
26+
- name: build and push
27+
uses: docker/build-push-action@v5
28+
with:
29+
context: .
30+
file: linux/debian-12/Dockerfile
31+
push: true
32+
tags: ghcr.io/${{ github.repository_owner }}/ci-debian-12:latest

linux/debian-12/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM debian:12
2+
3+
COPY ./robot/dependencies.txt .
4+
5+
RUN apt update -y \
6+
&& apt upgrade -y \
7+
&& apt install -y \
8+
cmake \
9+
g++ \
10+
git \
11+
libssl-dev \
12+
make \
13+
ninja-build \
14+
python3 \
15+
python3-pip \
16+
&& apt autoclean
17+
18+
RUN python3 -m pip install -r dependencies.txt --break-system-packages

robot/dependencies.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
robotframework
2+
robotframework-httpctrl
3+
robotframework-mockserverlibrary
4+
robotframework-requests
5+
robotframework-websocketclient

0 commit comments

Comments
 (0)