Skip to content

Commit 45bbdef

Browse files
committed
build and upload iso with aurora
Signed-off-by: Itxaka <[email protected]>
1 parent 51bc786 commit 45bbdef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/reusable-build-flavor.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ jobs:
5757
if: ${{ github.event_name == 'pull_request' }}
5858
run: |
5959
docker build -t ttl.sh/kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}-${{ github.sha }}:24h --build-arg=FLAVOR=${{ inputs.flavor_release }} -f images/Dockerfile.init .
60+
- name: Build ISO
61+
run: |
62+
docker run -v $PWD/build:/build -v /var/run/docker.sock:/var/run/docker.sock quay.io/kairos/auroraboot:v0.3.3 --debug build-iso --name kairos --date=false --output /build oci://ttl.sh/kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}-${{ github.sha }}:24h
6063
- name: Push to testing
6164
run: |
6265
docker push ttl.sh/kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}-${{ github.sha }}:24h
66+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
67+
- name: Upload ISO
68+
with:
69+
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
70+
path: |
71+
build/*.iso
72+
build/*.sha256
73+
if-no-files-found: error

0 commit comments

Comments
 (0)