Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Jan 13, 2024
1 parent a63c081 commit bf58f60
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/bake-image.yml
Expand Up @@ -3,12 +3,12 @@ name: Bake Image
on:
workflow_dispatch:
push:
branches:
- main
- ci
# branches:
# - main
# - ci

env:
PI_BASE_IMAGE: "https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64-lite.img.xz"
RUGPI_VERSION: "feat-layers"

jobs:
bake-image:
Expand All @@ -21,15 +21,12 @@ jobs:

- name: Install QEMU
run: docker run --privileged --rm tonistiigi/binfmt --install arm64

- name: Extract Image
run: ./run-bakery extract ${{ env.PI_BASE_IMAGE }} build/base.tar

- name: Customize System
run: ./run-bakery customize build/base.tar build/customized.tar
- name: Bake Image (Pi4)
run: ./run-bakery bake image pi4 build/pi4.img

- name: Bake Image
run: ./run-bakery bake build/customized.tar build/customized.img
- name: Bake Image (Tryboot)
run: ./run-bakery bake image tryboot build/tryboot.img

- name: Upload Image
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit bf58f60

Please sign in to comment.