Skip to content

Commit 48e2100

Browse files
Add Docker check in new WF.
1 parent ba43c92 commit 48e2100

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Check to make sure Dockerfile works
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
schedule:
10+
# Run the workflow on the 1st of every month at midnight
11+
- cron: 0 0 * * *
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest # Use a standard runner
16+
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@v4
20+
21+
- name: Build Docker container
22+
run: |
23+
docker build -t arch-iso-builder .
24+
25+
- name: Make ISO in Docker container
26+
run: |
27+
docker run --rm --privileged -v $(pwd):/workdir arch-iso-builder bash -c "mkarchiso -v -w workdir/ -o out/ ."

0 commit comments

Comments
 (0)