1313 - main
1414 paths :
1515 - ' .github/workflows/qcom-container-build-and-upload.yml'
16- - ' .github/actions/build_container/action.yml'
16+ - ' .github/actions/build_deb_container/action.yml'
17+ - ' .github/actions/build_rpm_container/action.yml'
1718 - ' Dockerfiles/**'
1819
1920 push :
2021 branches :
2122 - main
2223 paths :
2324 - ' .github/workflows/qcom-container-build-and-upload.yml'
24- - ' .github/actions/build_container/action.yml'
25+ - ' .github/actions/build_deb_container/action.yml'
26+ - ' .github/actions/build_rpm_container/action.yml'
2527 - ' Dockerfiles/**'
2628
2729 workflow_dispatch :
@@ -40,15 +42,35 @@ jobs:
4042 # Build the arm64 natively using a self-hosted runner on an arm64 host
4143 # Cross compiling the image using buildx on an x86_64 host was tried but failed due to
4244 # issues with qemu and multiarch support in docker buildx.
43- build-image -arm64 :
45+ build-deb -arm64 :
4446 runs-on : ubuntu-24.04-arm
4547 steps :
46-
4748 - name : Checkout repository
4849 uses : actions/checkout@v4
4950
50- - name : Build Images
51- uses : ./.github/actions/build_container
51+ - name : Build Debian Images
52+ uses : ./.github/actions/build_deb_container
53+ with :
54+ arch : arm64
55+
56+ - name : Upload Images
57+ uses : ./.github/actions/upload_containers
58+ # Only upload on trusted events that land code on main
59+ if : ${{ github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
60+ with :
61+ arch : arm64
62+ push-to-ghcr : " true"
63+ token : ${{ secrets.DEB_PKG_BOT_CI_TOKEN }}
64+ username : ${{ vars.DEB_PKG_BOT_CI_USERNAME }}
65+
66+ build-rpm-arm64 :
67+ runs-on : ubuntu-24.04-arm
68+ steps :
69+ - name : Checkout repository
70+ uses : actions/checkout@v4
71+
72+ - name : Build RPM Images
73+ uses : ./.github/actions/build_rpm_container
5274 with :
5375 arch : arm64
5476
0 commit comments