🚑️ 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
|
branch: main
|
||||||
|
|
||||||
steps:
|
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
|
- name: build
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
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
|
FROM scratch
|
||||||
COPY --from=builder /os/ /
|
COPY --from=builder ./os/ /
|
||||||
CMD ["/bin/sh"]
|
CMD ["/bin/sh"]
|
Loading…
Add table
Reference in a new issue