Skip to content

Commit e1bc424

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

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

+12
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ 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+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
69+
with:
70+
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
71+
path: |
72+
build/*.iso
73+
build/*.sha256
74+
if-no-files-found: error

0 commit comments

Comments
 (0)