File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ghcr-fedora-42
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [ main ]
7+ paths :
8+ - " linux/fedora-42/**"
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/fedora-42/Dockerfile
31+ push : true
32+ tags : ghcr.io/${{ github.repository_owner }}/ci-fedora-42:latest
Original file line number Diff line number Diff line change 1+ FROM fedora:42
2+
3+ COPY ./robot/dependencies.txt .
4+
5+ RUN dnf update -y \
6+ && dnf clean all \
7+ && dnf install -y \
8+ cmake \
9+ gcc-c++ \
10+ git \
11+ libasan \
12+ libubsan \
13+ make \
14+ openssl-devel \
15+ python3 \
16+ python3-pip \
17+ && dnf clean all
18+
19+ RUN python3 -m pip install -r dependencies.txt
You can’t perform that action at this time.
0 commit comments