🚑️ fix

This commit is contained in:
JMARyA 2025-04-17 13:39:34 +02:00
parent a81a7e46c8
commit 0007eefa54
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 7 additions and 8 deletions

View file

@ -3,6 +3,12 @@ when:
branch: main
steps:
- name: pacstrap
image: git.hydrar.de/navos/navos:latest
privileged: true
commands:
- pacman -Syu --noconfirm && pacman -S --noconfirm navinstall && yes | pacman -Scc
- mkdir os && navinstall create-tar os
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:

View file

@ -1,10 +1,3 @@
FROM git.hydrar.de/navos/navos:latest AS builder
COPY ./pacman.conf /pacman.conf
RUN pacman -Syu --noconfirm && pacman -S --noconfirm navinstall && yes | pacman -Scc
RUN mkdir /os && navinstall create-tar /os
FROM scratch
COPY --from=builder /os/ /
COPY --from=builder ./os/ /
CMD ["/bin/sh"]