Skip to content

Commit

Permalink
Build and upload uki artifact on PR
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
  • Loading branch information
Itxaka committed May 26, 2023
1 parent 4803585 commit 88a584b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,28 @@ jobs:
earthly +build-framework-image --FLAVOR=${FLAVOR} --VERSION=master
docker tag quay.io/kairos/framework:master_${{ matrix.flavor }} ttl.sh/kairos-framework-${{ matrix.flavor }}-${{ github.sha }}:8h
docker push ttl.sh/kairos-framework-${{ matrix.flavor }}-${{ github.sha }}:8h
build-uki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git fetch --prune --unshallow
- name: Install earthly
uses: Luet-lab/luet-install-action@v1
with:
repository: quay.io/kairos/packages
packages: utils/earthly
- name: Build uki image 🔧
run: |
# Do fedora as its the smaller uki possible
earthly +uki --FLAVOR=fedora
- name: Upload uki artifact
uses: actions/upload-artifact@v3
with:
name: kairos.uki.zip
path: |
build/*.efi
if-no-files-found: error
install-test:
needs:
- build
Expand Down

0 comments on commit 88a584b

Please sign in to comment.