Add action
Build nspawn container / container (push) Failing after 0s Details

This commit is contained in:
Tomas Balsys 2025-09-30 03:54:13 +03:00
parent 959f1df8b5
commit 8dff70ca88
5 changed files with 19 additions and 39 deletions

View File

@ -0,0 +1,15 @@
name: Build nspawn container
run-name: Running on ${{ gitea.actor }}
on:
push:
paths:
- Containerfile
jobs:
container:
runs-on: nix
steps:
- name: Build
run: podman build . -t git.balsys.eu.org/tomas/dosemu
- name: Push
run: podman push git.balsys.eu.org/tomas/dosemu

View File

@ -1,15 +0,0 @@
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push
steps:
build:
image: woodpeckerci/plugin-docker-buildx:2.2.1
volumes:
- /run/docker.sock:/var/run/docker.sock
settings:
repo: git.balsys.eu.org/tomas/mkosi
registry: ${CI_FORGE_URL}
username: ${CI_REPO_OWNER}
password:
from_secret: package_token

4
Containerfile Normal file
View File

@ -0,0 +1,4 @@
FROM debian:trixie
RUN apt-get update && \
LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y mkosi

View File

@ -1,23 +0,0 @@
FROM fedora:39
RUN sed -i s/enabled=1/enabled=0/ /etc/yum.repos.d/fedora-cisco-openh264.repo && \
dnf install -y \
mkosi \
arch-install-scripts \
btrfs-progs \
debootstrap \
dosfstools \
edk2-ovmf \
git \
squashfs-tools \
gnupg \
python3 \
tar \
util-linux-user \
veritysetup \
xz \
zypper \
e2fsprogs \
systemd-container
WORKDIR /root

View File

@ -1 +0,0 @@
[![status-badge](https://ci.balsys.eu.org/api/badges/8/status.svg)](https://ci.balsys.eu.org/repos/8)