Add action
Build nspawn container / container (push) Failing after 0s
Details
Build nspawn container / container (push) Failing after 0s
Details
This commit is contained in:
parent
959f1df8b5
commit
8dff70ca88
|
|
@ -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
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM debian:trixie
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y mkosi
|
||||||
23
Dockerfile
23
Dockerfile
|
|
@ -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
|
|
||||||
Loading…
Reference in New Issue