🚑️ fix
This commit is contained in:
parent
a81a7e46c8
commit
0007eefa54
2 changed files with 7 additions and 8 deletions
|
@ -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:
|
||||
|
|
|
@ -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"]
|
Loading…
Add table
Reference in a new issue