1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

download cache

This commit is contained in:
Jason N. 2024-02-13 13:44:50 +00:00
parent 450cabe592
commit dc31fc4309
5 changed files with 38 additions and 9 deletions

View file

@ -14,6 +14,15 @@ jobs:
container:
image: fedora:39
options: "--privileged"
volumes:
- registry_cache:/registry_cache
services:
docker_registry:
image: docker.io/_/registry:2
ports:
- 5000:5000
volumes:
- registry_cache:/var/lib/registry
permissions:
contents: read
packages: write
@ -23,6 +32,7 @@ jobs:
run: |
dnf install -y \
lorax \
podman \
git
- name: Checkout repository
@ -30,6 +40,14 @@ jobs:
with:
submodules: recursive
- name: Download container to cache
run: |
podman pull localhost:5000/ublue-os/base-main:39
- name: Show downloaded files
run: |
find /registry_cache
- name: Create boot.iso
env:
version: "39"

2
iso_files/kickstart.ks Normal file
View file

@ -0,0 +1,2 @@
# Set source image
ostreecontainer --url=ghcr.io/ublue-os/base-main:39

View file

@ -0,0 +1,18 @@
version: 0.1
log:
fields:
service: registry
storage:
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
proxy:
remoteurl: https://ghcr.io

View file

@ -1,7 +0,0 @@
%include submodules/fedora-kickstarts/fedora-disk-server.ks
%packages
-@arm-tools
podman
ostree
%end

View file

@ -1,2 +0,0 @@
# Install podman to host registry
installpkg podman