Files
bootc-images/.gitea/workflows/build.yaml
Wesley van Tilburg 60dd479c76
Some checks failed
Build containers / Build and push image (push) Failing after 35s
CI: initial hardcoded ci
2026-02-21 16:05:44 +01:00

42 lines
1.1 KiB
YAML

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 apparmor=unconfined --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