From 88705e433b04b6c4d4ddc96e158e76f12fb672e9 Mon Sep 17 00:00:00 2001 From: Wesley van Tilburg Date: Sat, 21 Feb 2026 16:00:11 +0100 Subject: [PATCH] CI: initial hardcoded ci --- .gitea/workflows/build.yaml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..5e147ae --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,41 @@ +name: Build containers +on: + workflow_dispatch: + pull_request: + branches: ["main"] + push: + branches: ["main"] + +jobs: + build_push: + name: Build and push image + runs-on: job-v2 + container: + image: "quay.io/fedora-ostree-desktops/buildroot:43" + options: "--security-opt=label=disable --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw" + steps: + - name: Install dependencies + run: | + dnf install -y nodejs + - name: Checkout + uses: actions/checkout@v4 + + - name: Install latest rpm-ostree package from testing repos + run: | + dnf upgrade -y --enablerepo=updates-testing --refresh rpm-ostree + + - name: Build Bootable Container image + run: | + ./builder.sh base 43 + + - name: Push + uses: redhat-actions/push-to-registry@v2 + with: + image: misthios/base + tags: 43 + registry: git.plabble.org + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} + extra-args: | + --compression-format=zstd +