summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@puffer.fish>2025-10-29 20:51:57 +0100
committerMatthieu Pignolet <matthieu@puffer.fish>2025-10-29 20:51:57 +0100
commit91c513459771bff8d2113c31402bf480a7e0c19f (patch)
tree7e529a96003f7e8091e6050bf6f0462f87a5cd1b
parente243b0d12a86fdd23a4e5fc53c82bb36ecf481ec (diff)
feat: add buildah test build
-rw-r--r--.forgejo/workflows/demo.yaml14
-rw-r--r--Containerfile3
2 files changed, 17 insertions, 0 deletions
diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml
index 7eb18ae..e9cbd71 100644
--- a/.forgejo/workflows/demo.yaml
+++ b/.forgejo/workflows/demo.yaml
@@ -10,3 +10,17 @@ jobs:
runs-on: docker
steps:
- run: echo All good!
+
+ container-build:
+ name: Build image
+ runs-on: docker
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Buildah Action
+ uses: redhat-actions/buildah-build@v2
+ with:
+ image: test-image
+ containerfiles: |
+ ./Containerfile
diff --git a/Containerfile b/Containerfile
new file mode 100644
index 0000000..dafa2de
--- /dev/null
+++ b/Containerfile
@@ -0,0 +1,3 @@
+FROM debian
+
+RUN apt-get update && apt-get install -y jq \ No newline at end of file