Skip to content

Commit

Permalink
ci: Folder RT image to SWU image
Browse files Browse the repository at this point in the history
This will save us some space.

Also change the SWU image name to make it more clear in the github
action download panel.

Signed-off-by: Baocheng Su <[email protected]>
  • Loading branch information
BaochengSu committed Jan 30, 2024
1 parent a882086 commit a6d385d
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,6 @@ jobs:
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic.bmap
debian-rt-example-image:
name: Debian RT example image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Free Disk Space
uses: ./.github/workflows/free-disk-space
- name: Build image
run: ./kas-container build kas-iot2050-example.yml:kas/opt/preempt-rt.yml
- name: Upload image
uses: actions/upload-artifact@v3
with:
name: iot2050-example-image-rt
path: |
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic.bmap
debian-swupdate-image:
name: Debian secure boot SWUpdate image
runs-on: ubuntu-latest
Expand All @@ -52,11 +34,11 @@ jobs:
- name: Free Disk Space
uses: ./.github/workflows/free-disk-space
- name: Build image
run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml
run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml:kas/opt/preempt-rt.yml
- name: Upload image
uses: actions/upload-artifact@v3
with:
name: iot2050-swupdate-image
name: iot2050-secureboot-swu-image
path: |
build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic
build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic.bmap
Expand Down

0 comments on commit a6d385d

Please sign in to comment.