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:
parent
450cabe592
commit
dc31fc4309
5 changed files with 38 additions and 9 deletions
18
.github/workflows/iso.yml
vendored
18
.github/workflows/iso.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue