From fef2d73494cf6af9a3fdb7c499ae724467ee49ac Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 19 Aug 2024 14:58:21 -0400 Subject: [PATCH] Commit generated workflows for testing Signed-off-by: Kyle Harding --- .github/workflows/bake-aarch64.yml | 90 +++-- .github/workflows/bake-advantech-ecu1370.yml | 334 +++++++++++++++-- .github/workflows/bake-amd64.yml | 100 +++-- .github/workflows/bake-armv7hf.yml | 70 ++-- .github/workflows/bake-astro-tx2.yml | 334 +++++++++++++++-- .../workflows/bake-asus-tinker-board-s.yml | 253 +++++++++++-- .github/workflows/bake-asus-tinker-board.yml | 253 +++++++++++-- .github/workflows/bake-asus-tinker-edge-t.yml | 334 +++++++++++++++-- .github/workflows/bake-bananapi-m1-plus.yml | 253 +++++++++++-- .github/workflows/bake-beaglebone-ai64.yml | 334 +++++++++++++++-- .github/workflows/bake-beaglebone-black.yml | 253 +++++++++++-- .../bake-beaglebone-green-gateway.yml | 253 +++++++++++-- .../workflows/bake-beaglebone-green-wifi.yml | 253 +++++++++++-- .github/workflows/bake-beaglebone-green.yml | 253 +++++++++++-- .github/workflows/bake-beaglebone-pocket.yml | 253 +++++++++++-- .../workflows/bake-bluechiptechnology-db1.yml | 334 +++++++++++++++-- .../workflows/bake-bluechiptechnology-tm3.yml | 334 +++++++++++++++-- .github/workflows/bake-ccimx8x-sbc-pro.yml | 334 +++++++++++++++-- .github/workflows/bake-cl-som-imx8.yml | 334 +++++++++++++++-- .github/workflows/bake-cnx100-xavier-nx.yml | 334 +++++++++++++++-- .github/workflows/bake-coral-dev.yml | 334 +++++++++++++++-- .github/workflows/bake-etcher-pro.yml | 334 +++++++++++++++-- .github/workflows/bake-generic-aarch64.yml | 334 +++++++++++++++-- .github/workflows/bake-generic-amd64.yml | 344 ++++++++++++++++-- .github/workflows/bake-genericx86-64-ext.yml | 344 ++++++++++++++++-- .github/workflows/bake-i386.yml | 55 +-- .github/workflows/bake-imx6ul-var-dart.yml | 253 +++++++++++-- .github/workflows/bake-imx7-var-som.yml | 253 +++++++++++-- .github/workflows/bake-imx8m-var-dart.yml | 334 +++++++++++++++-- .github/workflows/bake-imx8mm-lpddr4-evk.yml | 334 +++++++++++++++-- .github/workflows/bake-imx8mm-var-dart.yml | 334 +++++++++++++++-- .github/workflows/bake-imx8mm-var-som.yml | 334 +++++++++++++++-- .github/workflows/bake-intel-nuc.yml | 344 ++++++++++++++++-- .github/workflows/bake-iot-gate-imx8.yml | 334 +++++++++++++++-- .../workflows/bake-iot-gate-imx8plus-d1d8.yml | 334 +++++++++++++++-- .github/workflows/bake-iot-gate-imx8plus.yml | 334 +++++++++++++++-- .github/workflows/bake-isg-503.yml | 334 +++++++++++++++-- .../bake-jetson-agx-orin-devkit-64gb.yml | 334 +++++++++++++++-- .../workflows/bake-jetson-agx-orin-devkit.yml | 334 +++++++++++++++-- .../workflows/bake-jetson-nano-2gb-devkit.yml | 334 +++++++++++++++-- .github/workflows/bake-jetson-nano-emmc.yml | 334 +++++++++++++++-- .github/workflows/bake-jetson-nano.yml | 334 +++++++++++++++-- .../bake-jetson-orin-nano-devkit-nvme.yml | 334 +++++++++++++++-- .../bake-jetson-orin-nano-seeed-j3010.yml | 334 +++++++++++++++-- .../bake-jetson-orin-nx-seeed-j4012.yml | 334 +++++++++++++++-- .../bake-jetson-orin-nx-xavier-nx-devkit.yml | 334 +++++++++++++++-- .../workflows/bake-jetson-tx2-nx-devkit.yml | 334 +++++++++++++++-- .github/workflows/bake-jetson-tx2.yml | 334 +++++++++++++++-- .../bake-jetson-xavier-nx-devkit-emmc.yml | 334 +++++++++++++++-- ...jetson-xavier-nx-devkit-seeed-2mic-hat.yml | 334 +++++++++++++++-- .../bake-jetson-xavier-nx-devkit.yml | 334 +++++++++++++++-- .github/workflows/bake-jetson-xavier.yml | 334 +++++++++++++++-- .github/workflows/bake-jn30b-nano.yml | 334 +++++++++++++++-- .github/workflows/bake-kontron-mx8mm.yml | 334 +++++++++++++++-- .github/workflows/bake-lcbzu9.yml | 334 +++++++++++++++-- .github/workflows/bake-n510-tx2.yml | 334 +++++++++++++++-- .github/workflows/bake-nanopc-t4.yml | 334 +++++++++++++++-- .github/workflows/bake-nanopi-neo-air.yml | 253 +++++++++++-- .github/workflows/bake-nanopi-r2c.yml | 334 +++++++++++++++-- .github/workflows/bake-nanopi-r2s.yml | 334 +++++++++++++++-- .github/workflows/bake-nitrogen8mm.yml | 334 +++++++++++++++-- .github/workflows/bake-npe-x500-m3.yml | 253 +++++++++++-- .github/workflows/bake-odroid-xu4.yml | 253 +++++++++++-- .github/workflows/bake-odyssey-x86.yml | 344 ++++++++++++++++-- .github/workflows/bake-orange-pi-one.yml | 253 +++++++++++-- .github/workflows/bake-orange-pi-zero.yml | 253 +++++++++++-- .github/workflows/bake-orangepi-plus2.yml | 253 +++++++++++-- .github/workflows/bake-orbitty-tx2.yml | 334 +++++++++++++++-- .github/workflows/bake-owa5x.yml | 334 +++++++++++++++-- .github/workflows/bake-photon-nano.yml | 334 +++++++++++++++-- .github/workflows/bake-photon-tx2-nx.yml | 334 +++++++++++++++-- .github/workflows/bake-photon-xavier-nx.yml | 334 +++++++++++++++-- .../workflows/bake-phyboard-lyra-am62xx-2.yml | 334 +++++++++++++++-- .github/workflows/bake-qemux86-64.yml | 344 ++++++++++++++++-- .github/workflows/bake-qemux86.yml | 238 +++++++++++- .github/workflows/bake-raspberry-pi.yml | 162 ++++++++- .github/workflows/bake-raspberry-pi2.yml | 253 +++++++++++-- .github/workflows/bake-raspberrypi0-2w-64.yml | 334 +++++++++++++++-- .github/workflows/bake-raspberrypi3-64.yml | 334 +++++++++++++++-- .github/workflows/bake-raspberrypi3.yml | 253 +++++++++++-- .github/workflows/bake-raspberrypi4-64.yml | 334 +++++++++++++++-- .../bake-raspberrypi4-unipi-neuron.yml | 334 +++++++++++++++-- .github/workflows/bake-raspberrypi400-64.yml | 334 +++++++++++++++-- .github/workflows/bake-raspberrypi5.yml | 334 +++++++++++++++-- .../workflows/bake-raspberrypicm4-ioboard.yml | 334 +++++++++++++++-- .github/workflows/bake-revpi-connect-4.yml | 334 +++++++++++++++-- .github/workflows/bake-revpi-connect-s.yml | 334 +++++++++++++++-- .github/workflows/bake-revpi-connect.yml | 253 +++++++++++-- .github/workflows/bake-revpi-core-3.yml | 253 +++++++++++-- .github/workflows/bake-rockpi-4b-rk3399.yml | 334 +++++++++++++++-- .github/workflows/bake-rockpro64.yml | 334 +++++++++++++++-- .github/workflows/bake-rpi.yml | 40 +- .github/workflows/bake-smarc-px30.yml | 334 +++++++++++++++-- .github/workflows/bake-spacely-tx2.yml | 334 +++++++++++++++-- .github/workflows/bake-surface-go.yml | 344 ++++++++++++++++-- .github/workflows/bake-surface-pro-6.yml | 344 ++++++++++++++++-- .github/workflows/bake-tdpzu9.yml | 334 +++++++++++++++-- .github/workflows/bake-ucm-imx93.yml | 334 +++++++++++++++-- .github/workflows/bake-up-board.yml | 344 ++++++++++++++++-- .github/workflows/bake-var-som-mx6.yml | 253 +++++++++++-- 100 files changed, 27516 insertions(+), 2680 deletions(-) diff --git a/.github/workflows/bake-aarch64.yml b/.github/workflows/bake-aarch64.yml index 15ebc7e22994..eb665bd99a15 100644 --- a/.github/workflows/bake-aarch64.yml +++ b/.github/workflows/bake-aarch64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1049,10 +1065,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1111,10 +1128,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-advantech-ecu1370.yml b/.github/workflows/bake-advantech-ecu1370.yml index 649568c0edd9..214a05977093 100644 --- a/.github/workflows/bake-advantech-ecu1370.yml +++ b/.github/workflows/bake-advantech-ecu1370.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-advantech-ecu1370-alpine: + name: Prepare advantech-ecu1370-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/advantech-ecu1370-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-advantech-ecu1370-alpine: + name: Bake advantech-ecu1370-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-advantech-ecu1370-alpine + env: + LIBRARY: library/advantech-ecu1370-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-advantech-ecu1370-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-advantech-ecu1370-debian: + name: Prepare advantech-ecu1370-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/advantech-ecu1370-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-advantech-ecu1370-debian: + name: Bake advantech-ecu1370-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-advantech-ecu1370-debian + env: + LIBRARY: library/advantech-ecu1370-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-advantech-ecu1370-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-advantech-ecu1370-fedora: + name: Prepare advantech-ecu1370-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/advantech-ecu1370-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-advantech-ecu1370-fedora: + name: Bake advantech-ecu1370-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-advantech-ecu1370-fedora + env: + LIBRARY: library/advantech-ecu1370-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-advantech-ecu1370-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-advantech-ecu1370-ubuntu: + name: Prepare advantech-ecu1370-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/advantech-ecu1370-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-advantech-ecu1370-ubuntu: + name: Bake advantech-ecu1370-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-advantech-ecu1370-ubuntu + env: + LIBRARY: library/advantech-ecu1370-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-advantech-ecu1370-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-amd64.yml b/.github/workflows/bake-amd64.yml index 392c8ea77bcb..8c9b1d2bed44 100644 --- a/.github/workflows/bake-amd64.yml +++ b/.github/workflows/bake-amd64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1049,10 +1065,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1111,10 +1128,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1173,10 +1191,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -1235,10 +1254,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-armv7hf.yml b/.github/workflows/bake-armv7hf.yml index b1248640e9bb..fe29317c618d 100644 --- a/.github/workflows/bake-armv7hf.yml +++ b/.github/workflows/bake-armv7hf.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-astro-tx2.yml b/.github/workflows/bake-astro-tx2.yml index 3ca6feb8d1a2..b128bf7f41fe 100644 --- a/.github/workflows/bake-astro-tx2.yml +++ b/.github/workflows/bake-astro-tx2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-astro-tx2-alpine: + name: Prepare astro-tx2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/astro-tx2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-astro-tx2-alpine: + name: Bake astro-tx2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-astro-tx2-alpine + env: + LIBRARY: library/astro-tx2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-astro-tx2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-astro-tx2-debian: + name: Prepare astro-tx2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/astro-tx2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-astro-tx2-debian: + name: Bake astro-tx2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-astro-tx2-debian + env: + LIBRARY: library/astro-tx2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-astro-tx2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-astro-tx2-fedora: + name: Prepare astro-tx2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/astro-tx2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-astro-tx2-fedora: + name: Bake astro-tx2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-astro-tx2-fedora + env: + LIBRARY: library/astro-tx2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-astro-tx2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-astro-tx2-ubuntu: + name: Prepare astro-tx2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/astro-tx2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-astro-tx2-ubuntu: + name: Bake astro-tx2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-astro-tx2-ubuntu + env: + LIBRARY: library/astro-tx2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-astro-tx2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-asus-tinker-board-s.yml b/.github/workflows/bake-asus-tinker-board-s.yml index 637856b96823..69c8032089f8 100644 --- a/.github/workflows/bake-asus-tinker-board-s.yml +++ b/.github/workflows/bake-asus-tinker-board-s.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-s-alpine: + name: Prepare asus-tinker-board-s-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-s-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-s-alpine: + name: Bake asus-tinker-board-s-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-s-alpine + env: + LIBRARY: library/asus-tinker-board-s-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-s-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-s-debian: + name: Prepare asus-tinker-board-s-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-s-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-s-debian: + name: Bake asus-tinker-board-s-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-s-debian + env: + LIBRARY: library/asus-tinker-board-s-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-s-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-s-ubuntu: + name: Prepare asus-tinker-board-s-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-s-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-s-ubuntu: + name: Bake asus-tinker-board-s-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-s-ubuntu + env: + LIBRARY: library/asus-tinker-board-s-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-s-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-asus-tinker-board.yml b/.github/workflows/bake-asus-tinker-board.yml index e7f2ba9a2571..bdb5512f72bb 100644 --- a/.github/workflows/bake-asus-tinker-board.yml +++ b/.github/workflows/bake-asus-tinker-board.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-alpine: + name: Prepare asus-tinker-board-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-alpine: + name: Bake asus-tinker-board-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-alpine + env: + LIBRARY: library/asus-tinker-board-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-debian: + name: Prepare asus-tinker-board-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-debian: + name: Bake asus-tinker-board-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-debian + env: + LIBRARY: library/asus-tinker-board-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-board-ubuntu: + name: Prepare asus-tinker-board-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-board-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-board-ubuntu: + name: Bake asus-tinker-board-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-board-ubuntu + env: + LIBRARY: library/asus-tinker-board-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-board-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-asus-tinker-edge-t.yml b/.github/workflows/bake-asus-tinker-edge-t.yml index d10e2e587a2f..602b8029f61f 100644 --- a/.github/workflows/bake-asus-tinker-edge-t.yml +++ b/.github/workflows/bake-asus-tinker-edge-t.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-edge-t-alpine: + name: Prepare asus-tinker-edge-t-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-edge-t-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-edge-t-alpine: + name: Bake asus-tinker-edge-t-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-edge-t-alpine + env: + LIBRARY: library/asus-tinker-edge-t-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-edge-t-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-edge-t-debian: + name: Prepare asus-tinker-edge-t-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-edge-t-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-edge-t-debian: + name: Bake asus-tinker-edge-t-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-edge-t-debian + env: + LIBRARY: library/asus-tinker-edge-t-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-edge-t-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-edge-t-fedora: + name: Prepare asus-tinker-edge-t-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-edge-t-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-edge-t-fedora: + name: Bake asus-tinker-edge-t-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-edge-t-fedora + env: + LIBRARY: library/asus-tinker-edge-t-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-edge-t-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-asus-tinker-edge-t-ubuntu: + name: Prepare asus-tinker-edge-t-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/asus-tinker-edge-t-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-asus-tinker-edge-t-ubuntu: + name: Bake asus-tinker-edge-t-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-asus-tinker-edge-t-ubuntu + env: + LIBRARY: library/asus-tinker-edge-t-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-asus-tinker-edge-t-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-bananapi-m1-plus.yml b/.github/workflows/bake-bananapi-m1-plus.yml index df3b685ee7a1..2c53eadf5f38 100644 --- a/.github/workflows/bake-bananapi-m1-plus.yml +++ b/.github/workflows/bake-bananapi-m1-plus.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bananapi-m1-plus-alpine: + name: Prepare bananapi-m1-plus-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bananapi-m1-plus-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bananapi-m1-plus-alpine: + name: Bake bananapi-m1-plus-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bananapi-m1-plus-alpine + env: + LIBRARY: library/bananapi-m1-plus-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bananapi-m1-plus-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bananapi-m1-plus-debian: + name: Prepare bananapi-m1-plus-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bananapi-m1-plus-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bananapi-m1-plus-debian: + name: Bake bananapi-m1-plus-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bananapi-m1-plus-debian + env: + LIBRARY: library/bananapi-m1-plus-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bananapi-m1-plus-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bananapi-m1-plus-ubuntu: + name: Prepare bananapi-m1-plus-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bananapi-m1-plus-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bananapi-m1-plus-ubuntu: + name: Bake bananapi-m1-plus-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bananapi-m1-plus-ubuntu + env: + LIBRARY: library/bananapi-m1-plus-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bananapi-m1-plus-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-ai64.yml b/.github/workflows/bake-beaglebone-ai64.yml index 0b851f8c836e..cea0e38e054c 100644 --- a/.github/workflows/bake-beaglebone-ai64.yml +++ b/.github/workflows/bake-beaglebone-ai64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-ai64-alpine: + name: Prepare beaglebone-ai64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-ai64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-ai64-alpine: + name: Bake beaglebone-ai64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-ai64-alpine + env: + LIBRARY: library/beaglebone-ai64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-ai64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-ai64-debian: + name: Prepare beaglebone-ai64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-ai64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-ai64-debian: + name: Bake beaglebone-ai64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-ai64-debian + env: + LIBRARY: library/beaglebone-ai64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-ai64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-ai64-fedora: + name: Prepare beaglebone-ai64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-ai64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-ai64-fedora: + name: Bake beaglebone-ai64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-ai64-fedora + env: + LIBRARY: library/beaglebone-ai64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-ai64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-ai64-ubuntu: + name: Prepare beaglebone-ai64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-ai64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-ai64-ubuntu: + name: Bake beaglebone-ai64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-ai64-ubuntu + env: + LIBRARY: library/beaglebone-ai64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-ai64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-black.yml b/.github/workflows/bake-beaglebone-black.yml index f6046137ce53..e687e5bb9397 100644 --- a/.github/workflows/bake-beaglebone-black.yml +++ b/.github/workflows/bake-beaglebone-black.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-black-alpine: + name: Prepare beaglebone-black-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-black-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-black-alpine: + name: Bake beaglebone-black-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-black-alpine + env: + LIBRARY: library/beaglebone-black-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-black-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-black-debian: + name: Prepare beaglebone-black-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-black-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-black-debian: + name: Bake beaglebone-black-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-black-debian + env: + LIBRARY: library/beaglebone-black-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-black-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-black-ubuntu: + name: Prepare beaglebone-black-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-black-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-black-ubuntu: + name: Bake beaglebone-black-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-black-ubuntu + env: + LIBRARY: library/beaglebone-black-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-black-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-green-gateway.yml b/.github/workflows/bake-beaglebone-green-gateway.yml index c3193028ef7d..85f685544c10 100644 --- a/.github/workflows/bake-beaglebone-green-gateway.yml +++ b/.github/workflows/bake-beaglebone-green-gateway.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-gateway-alpine: + name: Prepare beaglebone-green-gateway-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-gateway-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-gateway-alpine: + name: Bake beaglebone-green-gateway-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-gateway-alpine + env: + LIBRARY: library/beaglebone-green-gateway-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-gateway-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-gateway-debian: + name: Prepare beaglebone-green-gateway-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-gateway-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-gateway-debian: + name: Bake beaglebone-green-gateway-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-gateway-debian + env: + LIBRARY: library/beaglebone-green-gateway-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-gateway-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-gateway-ubuntu: + name: Prepare beaglebone-green-gateway-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-gateway-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-gateway-ubuntu: + name: Bake beaglebone-green-gateway-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-gateway-ubuntu + env: + LIBRARY: library/beaglebone-green-gateway-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-gateway-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-green-wifi.yml b/.github/workflows/bake-beaglebone-green-wifi.yml index cd2aa2f5e166..8eb52894dacd 100644 --- a/.github/workflows/bake-beaglebone-green-wifi.yml +++ b/.github/workflows/bake-beaglebone-green-wifi.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-wifi-alpine: + name: Prepare beaglebone-green-wifi-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-wifi-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-wifi-alpine: + name: Bake beaglebone-green-wifi-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-wifi-alpine + env: + LIBRARY: library/beaglebone-green-wifi-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-wifi-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-wifi-debian: + name: Prepare beaglebone-green-wifi-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-wifi-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-wifi-debian: + name: Bake beaglebone-green-wifi-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-wifi-debian + env: + LIBRARY: library/beaglebone-green-wifi-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-wifi-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-wifi-ubuntu: + name: Prepare beaglebone-green-wifi-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-wifi-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-wifi-ubuntu: + name: Bake beaglebone-green-wifi-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-wifi-ubuntu + env: + LIBRARY: library/beaglebone-green-wifi-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-wifi-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-green.yml b/.github/workflows/bake-beaglebone-green.yml index 5623c4a72b99..3995c065e6bc 100644 --- a/.github/workflows/bake-beaglebone-green.yml +++ b/.github/workflows/bake-beaglebone-green.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-alpine: + name: Prepare beaglebone-green-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-alpine: + name: Bake beaglebone-green-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-alpine + env: + LIBRARY: library/beaglebone-green-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-debian: + name: Prepare beaglebone-green-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-debian: + name: Bake beaglebone-green-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-debian + env: + LIBRARY: library/beaglebone-green-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-green-ubuntu: + name: Prepare beaglebone-green-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-green-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-green-ubuntu: + name: Bake beaglebone-green-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-green-ubuntu + env: + LIBRARY: library/beaglebone-green-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-green-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-beaglebone-pocket.yml b/.github/workflows/bake-beaglebone-pocket.yml index d3bc6c0fe998..e7c6a7c83bbb 100644 --- a/.github/workflows/bake-beaglebone-pocket.yml +++ b/.github/workflows/bake-beaglebone-pocket.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-pocket-alpine: + name: Prepare beaglebone-pocket-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-pocket-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-pocket-alpine: + name: Bake beaglebone-pocket-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-pocket-alpine + env: + LIBRARY: library/beaglebone-pocket-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-pocket-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-pocket-debian: + name: Prepare beaglebone-pocket-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-pocket-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-pocket-debian: + name: Bake beaglebone-pocket-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-pocket-debian + env: + LIBRARY: library/beaglebone-pocket-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-pocket-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-beaglebone-pocket-ubuntu: + name: Prepare beaglebone-pocket-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/beaglebone-pocket-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-beaglebone-pocket-ubuntu: + name: Bake beaglebone-pocket-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-beaglebone-pocket-ubuntu + env: + LIBRARY: library/beaglebone-pocket-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-beaglebone-pocket-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-bluechiptechnology-db1.yml b/.github/workflows/bake-bluechiptechnology-db1.yml index b6bb347d23df..ee8aa8ccc1a3 100644 --- a/.github/workflows/bake-bluechiptechnology-db1.yml +++ b/.github/workflows/bake-bluechiptechnology-db1.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-db1-alpine: + name: Prepare bluechiptechnology-db1-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-db1-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-db1-alpine: + name: Bake bluechiptechnology-db1-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-db1-alpine + env: + LIBRARY: library/bluechiptechnology-db1-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-db1-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-db1-debian: + name: Prepare bluechiptechnology-db1-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-db1-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-db1-debian: + name: Bake bluechiptechnology-db1-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-db1-debian + env: + LIBRARY: library/bluechiptechnology-db1-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-db1-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-db1-fedora: + name: Prepare bluechiptechnology-db1-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-db1-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-db1-fedora: + name: Bake bluechiptechnology-db1-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-db1-fedora + env: + LIBRARY: library/bluechiptechnology-db1-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-db1-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-db1-ubuntu: + name: Prepare bluechiptechnology-db1-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-db1-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-db1-ubuntu: + name: Bake bluechiptechnology-db1-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-db1-ubuntu + env: + LIBRARY: library/bluechiptechnology-db1-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-db1-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-bluechiptechnology-tm3.yml b/.github/workflows/bake-bluechiptechnology-tm3.yml index 1c6d9aefa223..68a1bef9ebe0 100644 --- a/.github/workflows/bake-bluechiptechnology-tm3.yml +++ b/.github/workflows/bake-bluechiptechnology-tm3.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-tm3-alpine: + name: Prepare bluechiptechnology-tm3-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-tm3-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-tm3-alpine: + name: Bake bluechiptechnology-tm3-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-tm3-alpine + env: + LIBRARY: library/bluechiptechnology-tm3-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-tm3-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-tm3-debian: + name: Prepare bluechiptechnology-tm3-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-tm3-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-tm3-debian: + name: Bake bluechiptechnology-tm3-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-tm3-debian + env: + LIBRARY: library/bluechiptechnology-tm3-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-tm3-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-tm3-fedora: + name: Prepare bluechiptechnology-tm3-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-tm3-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-tm3-fedora: + name: Bake bluechiptechnology-tm3-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-tm3-fedora + env: + LIBRARY: library/bluechiptechnology-tm3-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-tm3-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-bluechiptechnology-tm3-ubuntu: + name: Prepare bluechiptechnology-tm3-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/bluechiptechnology-tm3-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-bluechiptechnology-tm3-ubuntu: + name: Bake bluechiptechnology-tm3-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-bluechiptechnology-tm3-ubuntu + env: + LIBRARY: library/bluechiptechnology-tm3-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-bluechiptechnology-tm3-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-ccimx8x-sbc-pro.yml b/.github/workflows/bake-ccimx8x-sbc-pro.yml index 82e1a7e4f5ef..c778a3eafc08 100644 --- a/.github/workflows/bake-ccimx8x-sbc-pro.yml +++ b/.github/workflows/bake-ccimx8x-sbc-pro.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ccimx8x-sbc-pro-alpine: + name: Prepare ccimx8x-sbc-pro-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ccimx8x-sbc-pro-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ccimx8x-sbc-pro-alpine: + name: Bake ccimx8x-sbc-pro-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ccimx8x-sbc-pro-alpine + env: + LIBRARY: library/ccimx8x-sbc-pro-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ccimx8x-sbc-pro-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ccimx8x-sbc-pro-debian: + name: Prepare ccimx8x-sbc-pro-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ccimx8x-sbc-pro-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ccimx8x-sbc-pro-debian: + name: Bake ccimx8x-sbc-pro-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ccimx8x-sbc-pro-debian + env: + LIBRARY: library/ccimx8x-sbc-pro-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ccimx8x-sbc-pro-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ccimx8x-sbc-pro-fedora: + name: Prepare ccimx8x-sbc-pro-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ccimx8x-sbc-pro-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ccimx8x-sbc-pro-fedora: + name: Bake ccimx8x-sbc-pro-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ccimx8x-sbc-pro-fedora + env: + LIBRARY: library/ccimx8x-sbc-pro-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ccimx8x-sbc-pro-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ccimx8x-sbc-pro-ubuntu: + name: Prepare ccimx8x-sbc-pro-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ccimx8x-sbc-pro-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ccimx8x-sbc-pro-ubuntu: + name: Bake ccimx8x-sbc-pro-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ccimx8x-sbc-pro-ubuntu + env: + LIBRARY: library/ccimx8x-sbc-pro-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ccimx8x-sbc-pro-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-cl-som-imx8.yml b/.github/workflows/bake-cl-som-imx8.yml index 41d17f584a4b..ee5abd197894 100644 --- a/.github/workflows/bake-cl-som-imx8.yml +++ b/.github/workflows/bake-cl-som-imx8.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cl-som-imx8-alpine: + name: Prepare cl-som-imx8-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cl-som-imx8-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cl-som-imx8-alpine: + name: Bake cl-som-imx8-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cl-som-imx8-alpine + env: + LIBRARY: library/cl-som-imx8-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cl-som-imx8-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cl-som-imx8-debian: + name: Prepare cl-som-imx8-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cl-som-imx8-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cl-som-imx8-debian: + name: Bake cl-som-imx8-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cl-som-imx8-debian + env: + LIBRARY: library/cl-som-imx8-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cl-som-imx8-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cl-som-imx8-fedora: + name: Prepare cl-som-imx8-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cl-som-imx8-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cl-som-imx8-fedora: + name: Bake cl-som-imx8-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cl-som-imx8-fedora + env: + LIBRARY: library/cl-som-imx8-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cl-som-imx8-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cl-som-imx8-ubuntu: + name: Prepare cl-som-imx8-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cl-som-imx8-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cl-som-imx8-ubuntu: + name: Bake cl-som-imx8-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cl-som-imx8-ubuntu + env: + LIBRARY: library/cl-som-imx8-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cl-som-imx8-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-cnx100-xavier-nx.yml b/.github/workflows/bake-cnx100-xavier-nx.yml index fda52e5df405..fff3a3e22318 100644 --- a/.github/workflows/bake-cnx100-xavier-nx.yml +++ b/.github/workflows/bake-cnx100-xavier-nx.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cnx100-xavier-nx-alpine: + name: Prepare cnx100-xavier-nx-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cnx100-xavier-nx-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cnx100-xavier-nx-alpine: + name: Bake cnx100-xavier-nx-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cnx100-xavier-nx-alpine + env: + LIBRARY: library/cnx100-xavier-nx-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cnx100-xavier-nx-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cnx100-xavier-nx-debian: + name: Prepare cnx100-xavier-nx-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cnx100-xavier-nx-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cnx100-xavier-nx-debian: + name: Bake cnx100-xavier-nx-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cnx100-xavier-nx-debian + env: + LIBRARY: library/cnx100-xavier-nx-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cnx100-xavier-nx-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cnx100-xavier-nx-fedora: + name: Prepare cnx100-xavier-nx-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cnx100-xavier-nx-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cnx100-xavier-nx-fedora: + name: Bake cnx100-xavier-nx-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cnx100-xavier-nx-fedora + env: + LIBRARY: library/cnx100-xavier-nx-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cnx100-xavier-nx-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-cnx100-xavier-nx-ubuntu: + name: Prepare cnx100-xavier-nx-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/cnx100-xavier-nx-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-cnx100-xavier-nx-ubuntu: + name: Bake cnx100-xavier-nx-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-cnx100-xavier-nx-ubuntu + env: + LIBRARY: library/cnx100-xavier-nx-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-cnx100-xavier-nx-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-coral-dev.yml b/.github/workflows/bake-coral-dev.yml index a1675293183f..8309eeb7ed73 100644 --- a/.github/workflows/bake-coral-dev.yml +++ b/.github/workflows/bake-coral-dev.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-coral-dev-alpine: + name: Prepare coral-dev-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/coral-dev-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-coral-dev-alpine: + name: Bake coral-dev-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-coral-dev-alpine + env: + LIBRARY: library/coral-dev-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-coral-dev-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-coral-dev-debian: + name: Prepare coral-dev-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/coral-dev-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-coral-dev-debian: + name: Bake coral-dev-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-coral-dev-debian + env: + LIBRARY: library/coral-dev-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-coral-dev-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-coral-dev-fedora: + name: Prepare coral-dev-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/coral-dev-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-coral-dev-fedora: + name: Bake coral-dev-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-coral-dev-fedora + env: + LIBRARY: library/coral-dev-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-coral-dev-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-coral-dev-ubuntu: + name: Prepare coral-dev-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/coral-dev-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-coral-dev-ubuntu: + name: Bake coral-dev-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-coral-dev-ubuntu + env: + LIBRARY: library/coral-dev-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-coral-dev-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-etcher-pro.yml b/.github/workflows/bake-etcher-pro.yml index d71cdf875eb8..43b7c8692860 100644 --- a/.github/workflows/bake-etcher-pro.yml +++ b/.github/workflows/bake-etcher-pro.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-etcher-pro-alpine: + name: Prepare etcher-pro-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/etcher-pro-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-etcher-pro-alpine: + name: Bake etcher-pro-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-etcher-pro-alpine + env: + LIBRARY: library/etcher-pro-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-etcher-pro-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-etcher-pro-debian: + name: Prepare etcher-pro-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/etcher-pro-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-etcher-pro-debian: + name: Bake etcher-pro-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-etcher-pro-debian + env: + LIBRARY: library/etcher-pro-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-etcher-pro-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-etcher-pro-fedora: + name: Prepare etcher-pro-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/etcher-pro-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-etcher-pro-fedora: + name: Bake etcher-pro-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-etcher-pro-fedora + env: + LIBRARY: library/etcher-pro-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-etcher-pro-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-etcher-pro-ubuntu: + name: Prepare etcher-pro-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/etcher-pro-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-etcher-pro-ubuntu: + name: Bake etcher-pro-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-etcher-pro-ubuntu + env: + LIBRARY: library/etcher-pro-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-etcher-pro-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-generic-aarch64.yml b/.github/workflows/bake-generic-aarch64.yml index b7d4354f5731..34c4951c6ae1 100644 --- a/.github/workflows/bake-generic-aarch64.yml +++ b/.github/workflows/bake-generic-aarch64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-aarch64-alpine: + name: Prepare generic-aarch64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-aarch64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-aarch64-alpine: + name: Bake generic-aarch64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-generic-aarch64-alpine + env: + LIBRARY: library/generic-aarch64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-aarch64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-aarch64-debian: + name: Prepare generic-aarch64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-aarch64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-aarch64-debian: + name: Bake generic-aarch64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-generic-aarch64-debian + env: + LIBRARY: library/generic-aarch64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-aarch64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-aarch64-fedora: + name: Prepare generic-aarch64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-aarch64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-aarch64-fedora: + name: Bake generic-aarch64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-generic-aarch64-fedora + env: + LIBRARY: library/generic-aarch64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-aarch64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-aarch64-ubuntu: + name: Prepare generic-aarch64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-aarch64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-aarch64-ubuntu: + name: Bake generic-aarch64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-generic-aarch64-ubuntu + env: + LIBRARY: library/generic-aarch64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-aarch64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-generic-amd64.yml b/.github/workflows/bake-generic-amd64.yml index 151eef4dd7b0..a8ba6b5b6e6e 100644 --- a/.github/workflows/bake-generic-amd64.yml +++ b/.github/workflows/bake-generic-amd64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-amd64-alpine: + name: Prepare generic-amd64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-amd64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-amd64-alpine: + name: Bake generic-amd64-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-generic-amd64-alpine + env: + LIBRARY: library/generic-amd64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-amd64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-amd64-debian: + name: Prepare generic-amd64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-amd64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-amd64-debian: + name: Bake generic-amd64-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-generic-amd64-debian + env: + LIBRARY: library/generic-amd64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-amd64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-amd64-fedora: + name: Prepare generic-amd64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-amd64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-amd64-fedora: + name: Bake generic-amd64-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-generic-amd64-fedora + env: + LIBRARY: library/generic-amd64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-amd64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-generic-amd64-ubuntu: + name: Prepare generic-amd64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/generic-amd64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-generic-amd64-ubuntu: + name: Bake generic-amd64-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-generic-amd64-ubuntu + env: + LIBRARY: library/generic-amd64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-generic-amd64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-genericx86-64-ext.yml b/.github/workflows/bake-genericx86-64-ext.yml index 094110a9f32c..9c6968b43885 100644 --- a/.github/workflows/bake-genericx86-64-ext.yml +++ b/.github/workflows/bake-genericx86-64-ext.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-genericx86-64-ext-alpine: + name: Prepare genericx86-64-ext-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/genericx86-64-ext-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-genericx86-64-ext-alpine: + name: Bake genericx86-64-ext-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-genericx86-64-ext-alpine + env: + LIBRARY: library/genericx86-64-ext-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-genericx86-64-ext-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-genericx86-64-ext-debian: + name: Prepare genericx86-64-ext-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/genericx86-64-ext-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-genericx86-64-ext-debian: + name: Bake genericx86-64-ext-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-genericx86-64-ext-debian + env: + LIBRARY: library/genericx86-64-ext-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-genericx86-64-ext-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-genericx86-64-ext-fedora: + name: Prepare genericx86-64-ext-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/genericx86-64-ext-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-genericx86-64-ext-fedora: + name: Bake genericx86-64-ext-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-genericx86-64-ext-fedora + env: + LIBRARY: library/genericx86-64-ext-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-genericx86-64-ext-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-genericx86-64-ext-ubuntu: + name: Prepare genericx86-64-ext-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/genericx86-64-ext-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-genericx86-64-ext-ubuntu: + name: Bake genericx86-64-ext-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-genericx86-64-ext-ubuntu + env: + LIBRARY: library/genericx86-64-ext-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-genericx86-64-ext-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-i386.yml b/.github/workflows/bake-i386.yml index 8b5d23b45b8c..1bc93ab3371a 100644 --- a/.github/workflows/bake-i386.yml +++ b/.github/workflows/bake-i386.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx6ul-var-dart.yml b/.github/workflows/bake-imx6ul-var-dart.yml index ca3f32d9fc26..0e8224e408ed 100644 --- a/.github/workflows/bake-imx6ul-var-dart.yml +++ b/.github/workflows/bake-imx6ul-var-dart.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx6ul-var-dart-alpine: + name: Prepare imx6ul-var-dart-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx6ul-var-dart-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx6ul-var-dart-alpine: + name: Bake imx6ul-var-dart-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx6ul-var-dart-alpine + env: + LIBRARY: library/imx6ul-var-dart-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx6ul-var-dart-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx6ul-var-dart-debian: + name: Prepare imx6ul-var-dart-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx6ul-var-dart-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx6ul-var-dart-debian: + name: Bake imx6ul-var-dart-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx6ul-var-dart-debian + env: + LIBRARY: library/imx6ul-var-dart-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx6ul-var-dart-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx6ul-var-dart-ubuntu: + name: Prepare imx6ul-var-dart-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx6ul-var-dart-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx6ul-var-dart-ubuntu: + name: Bake imx6ul-var-dart-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx6ul-var-dart-ubuntu + env: + LIBRARY: library/imx6ul-var-dart-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx6ul-var-dart-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx7-var-som.yml b/.github/workflows/bake-imx7-var-som.yml index 3f1a23a901eb..19f204e603ad 100644 --- a/.github/workflows/bake-imx7-var-som.yml +++ b/.github/workflows/bake-imx7-var-som.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx7-var-som-alpine: + name: Prepare imx7-var-som-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx7-var-som-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx7-var-som-alpine: + name: Bake imx7-var-som-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx7-var-som-alpine + env: + LIBRARY: library/imx7-var-som-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx7-var-som-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx7-var-som-debian: + name: Prepare imx7-var-som-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx7-var-som-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx7-var-som-debian: + name: Bake imx7-var-som-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx7-var-som-debian + env: + LIBRARY: library/imx7-var-som-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx7-var-som-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx7-var-som-ubuntu: + name: Prepare imx7-var-som-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx7-var-som-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx7-var-som-ubuntu: + name: Bake imx7-var-som-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx7-var-som-ubuntu + env: + LIBRARY: library/imx7-var-som-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx7-var-som-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx8m-var-dart.yml b/.github/workflows/bake-imx8m-var-dart.yml index 72089be78e2a..7d091008d844 100644 --- a/.github/workflows/bake-imx8m-var-dart.yml +++ b/.github/workflows/bake-imx8m-var-dart.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8m-var-dart-alpine: + name: Prepare imx8m-var-dart-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8m-var-dart-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8m-var-dart-alpine: + name: Bake imx8m-var-dart-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8m-var-dart-alpine + env: + LIBRARY: library/imx8m-var-dart-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8m-var-dart-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8m-var-dart-debian: + name: Prepare imx8m-var-dart-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8m-var-dart-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8m-var-dart-debian: + name: Bake imx8m-var-dart-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8m-var-dart-debian + env: + LIBRARY: library/imx8m-var-dart-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8m-var-dart-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8m-var-dart-fedora: + name: Prepare imx8m-var-dart-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8m-var-dart-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8m-var-dart-fedora: + name: Bake imx8m-var-dart-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8m-var-dart-fedora + env: + LIBRARY: library/imx8m-var-dart-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8m-var-dart-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8m-var-dart-ubuntu: + name: Prepare imx8m-var-dart-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8m-var-dart-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8m-var-dart-ubuntu: + name: Bake imx8m-var-dart-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8m-var-dart-ubuntu + env: + LIBRARY: library/imx8m-var-dart-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8m-var-dart-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx8mm-lpddr4-evk.yml b/.github/workflows/bake-imx8mm-lpddr4-evk.yml index fb8a7dffd51c..bdfc860a687a 100644 --- a/.github/workflows/bake-imx8mm-lpddr4-evk.yml +++ b/.github/workflows/bake-imx8mm-lpddr4-evk.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-lpddr4-evk-alpine: + name: Prepare imx8mm-lpddr4-evk-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-lpddr4-evk-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-lpddr4-evk-alpine: + name: Bake imx8mm-lpddr4-evk-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-lpddr4-evk-alpine + env: + LIBRARY: library/imx8mm-lpddr4-evk-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-lpddr4-evk-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-lpddr4-evk-debian: + name: Prepare imx8mm-lpddr4-evk-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-lpddr4-evk-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-lpddr4-evk-debian: + name: Bake imx8mm-lpddr4-evk-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-lpddr4-evk-debian + env: + LIBRARY: library/imx8mm-lpddr4-evk-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-lpddr4-evk-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-lpddr4-evk-fedora: + name: Prepare imx8mm-lpddr4-evk-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-lpddr4-evk-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-lpddr4-evk-fedora: + name: Bake imx8mm-lpddr4-evk-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-lpddr4-evk-fedora + env: + LIBRARY: library/imx8mm-lpddr4-evk-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-lpddr4-evk-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-lpddr4-evk-ubuntu: + name: Prepare imx8mm-lpddr4-evk-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-lpddr4-evk-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-lpddr4-evk-ubuntu: + name: Bake imx8mm-lpddr4-evk-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-lpddr4-evk-ubuntu + env: + LIBRARY: library/imx8mm-lpddr4-evk-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-lpddr4-evk-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx8mm-var-dart.yml b/.github/workflows/bake-imx8mm-var-dart.yml index ce7c3b7a61fd..dab9416caebe 100644 --- a/.github/workflows/bake-imx8mm-var-dart.yml +++ b/.github/workflows/bake-imx8mm-var-dart.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-dart-alpine: + name: Prepare imx8mm-var-dart-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-dart-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-dart-alpine: + name: Bake imx8mm-var-dart-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-dart-alpine + env: + LIBRARY: library/imx8mm-var-dart-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-dart-debian: + name: Prepare imx8mm-var-dart-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-dart-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-dart-debian: + name: Bake imx8mm-var-dart-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-dart-debian + env: + LIBRARY: library/imx8mm-var-dart-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-dart-fedora: + name: Prepare imx8mm-var-dart-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-dart-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-dart-fedora: + name: Bake imx8mm-var-dart-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-dart-fedora + env: + LIBRARY: library/imx8mm-var-dart-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-dart-ubuntu: + name: Prepare imx8mm-var-dart-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-dart-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-dart-ubuntu: + name: Bake imx8mm-var-dart-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-dart-ubuntu + env: + LIBRARY: library/imx8mm-var-dart-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-imx8mm-var-som.yml b/.github/workflows/bake-imx8mm-var-som.yml index de836fe1fcf4..b3dc17e4a5db 100644 --- a/.github/workflows/bake-imx8mm-var-som.yml +++ b/.github/workflows/bake-imx8mm-var-som.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-som-alpine: + name: Prepare imx8mm-var-som-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-som-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-som-alpine: + name: Bake imx8mm-var-som-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-som-alpine + env: + LIBRARY: library/imx8mm-var-som-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-som-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-som-debian: + name: Prepare imx8mm-var-som-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-som-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-som-debian: + name: Bake imx8mm-var-som-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-som-debian + env: + LIBRARY: library/imx8mm-var-som-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-som-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-som-fedora: + name: Prepare imx8mm-var-som-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-som-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-som-fedora: + name: Bake imx8mm-var-som-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-som-fedora + env: + LIBRARY: library/imx8mm-var-som-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-som-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-imx8mm-var-som-ubuntu: + name: Prepare imx8mm-var-som-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/imx8mm-var-som-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-imx8mm-var-som-ubuntu: + name: Bake imx8mm-var-som-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-imx8mm-var-som-ubuntu + env: + LIBRARY: library/imx8mm-var-som-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-imx8mm-var-som-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-intel-nuc.yml b/.github/workflows/bake-intel-nuc.yml index 5b122b31bdc3..d1abb76eb065 100644 --- a/.github/workflows/bake-intel-nuc.yml +++ b/.github/workflows/bake-intel-nuc.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-intel-nuc-alpine: + name: Prepare intel-nuc-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/intel-nuc-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-intel-nuc-alpine: + name: Bake intel-nuc-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-intel-nuc-alpine + env: + LIBRARY: library/intel-nuc-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-intel-nuc-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-intel-nuc-debian: + name: Prepare intel-nuc-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/intel-nuc-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-intel-nuc-debian: + name: Bake intel-nuc-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-intel-nuc-debian + env: + LIBRARY: library/intel-nuc-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-intel-nuc-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-intel-nuc-fedora: + name: Prepare intel-nuc-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/intel-nuc-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-intel-nuc-fedora: + name: Bake intel-nuc-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-intel-nuc-fedora + env: + LIBRARY: library/intel-nuc-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-intel-nuc-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-intel-nuc-ubuntu: + name: Prepare intel-nuc-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/intel-nuc-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-intel-nuc-ubuntu: + name: Bake intel-nuc-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-intel-nuc-ubuntu + env: + LIBRARY: library/intel-nuc-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-iot-gate-imx8.yml b/.github/workflows/bake-iot-gate-imx8.yml index bdbdb3a4a14b..b03922e59f9b 100644 --- a/.github/workflows/bake-iot-gate-imx8.yml +++ b/.github/workflows/bake-iot-gate-imx8.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8-alpine: + name: Prepare iot-gate-imx8-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8-alpine: + name: Bake iot-gate-imx8-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8-alpine + env: + LIBRARY: library/iot-gate-imx8-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8-debian: + name: Prepare iot-gate-imx8-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8-debian: + name: Bake iot-gate-imx8-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8-debian + env: + LIBRARY: library/iot-gate-imx8-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8-fedora: + name: Prepare iot-gate-imx8-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8-fedora: + name: Bake iot-gate-imx8-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8-fedora + env: + LIBRARY: library/iot-gate-imx8-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8-ubuntu: + name: Prepare iot-gate-imx8-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8-ubuntu: + name: Bake iot-gate-imx8-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8-ubuntu + env: + LIBRARY: library/iot-gate-imx8-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-iot-gate-imx8plus-d1d8.yml b/.github/workflows/bake-iot-gate-imx8plus-d1d8.yml index ecb1962e3199..959742a2f1bc 100644 --- a/.github/workflows/bake-iot-gate-imx8plus-d1d8.yml +++ b/.github/workflows/bake-iot-gate-imx8plus-d1d8.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-d1d8-alpine: + name: Prepare iot-gate-imx8plus-d1d8-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-d1d8-alpine: + name: Bake iot-gate-imx8plus-d1d8-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-d1d8-alpine + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-d1d8-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-d1d8-debian: + name: Prepare iot-gate-imx8plus-d1d8-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-d1d8-debian: + name: Bake iot-gate-imx8plus-d1d8-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-d1d8-debian + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-d1d8-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-d1d8-fedora: + name: Prepare iot-gate-imx8plus-d1d8-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-d1d8-fedora: + name: Bake iot-gate-imx8plus-d1d8-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-d1d8-fedora + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-d1d8-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-d1d8-ubuntu: + name: Prepare iot-gate-imx8plus-d1d8-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-d1d8-ubuntu: + name: Bake iot-gate-imx8plus-d1d8-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-d1d8-ubuntu + env: + LIBRARY: library/iot-gate-imx8plus-d1d8-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-d1d8-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-iot-gate-imx8plus.yml b/.github/workflows/bake-iot-gate-imx8plus.yml index f2ebdc4d9642..789eff72a6f7 100644 --- a/.github/workflows/bake-iot-gate-imx8plus.yml +++ b/.github/workflows/bake-iot-gate-imx8plus.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-alpine: + name: Prepare iot-gate-imx8plus-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-alpine: + name: Bake iot-gate-imx8plus-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-alpine + env: + LIBRARY: library/iot-gate-imx8plus-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-debian: + name: Prepare iot-gate-imx8plus-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-debian: + name: Bake iot-gate-imx8plus-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-debian + env: + LIBRARY: library/iot-gate-imx8plus-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-fedora: + name: Prepare iot-gate-imx8plus-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-fedora: + name: Bake iot-gate-imx8plus-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-fedora + env: + LIBRARY: library/iot-gate-imx8plus-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-iot-gate-imx8plus-ubuntu: + name: Prepare iot-gate-imx8plus-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/iot-gate-imx8plus-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-iot-gate-imx8plus-ubuntu: + name: Bake iot-gate-imx8plus-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-iot-gate-imx8plus-ubuntu + env: + LIBRARY: library/iot-gate-imx8plus-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-iot-gate-imx8plus-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-isg-503.yml b/.github/workflows/bake-isg-503.yml index 81298c851186..ca6164a6aabf 100644 --- a/.github/workflows/bake-isg-503.yml +++ b/.github/workflows/bake-isg-503.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-isg-503-alpine: + name: Prepare isg-503-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/isg-503-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-isg-503-alpine: + name: Bake isg-503-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-isg-503-alpine + env: + LIBRARY: library/isg-503-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-isg-503-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-isg-503-debian: + name: Prepare isg-503-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/isg-503-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-isg-503-debian: + name: Bake isg-503-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-isg-503-debian + env: + LIBRARY: library/isg-503-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-isg-503-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-isg-503-fedora: + name: Prepare isg-503-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/isg-503-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-isg-503-fedora: + name: Bake isg-503-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-isg-503-fedora + env: + LIBRARY: library/isg-503-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-isg-503-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-isg-503-ubuntu: + name: Prepare isg-503-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/isg-503-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-isg-503-ubuntu: + name: Bake isg-503-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-isg-503-ubuntu + env: + LIBRARY: library/isg-503-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-isg-503-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-agx-orin-devkit-64gb.yml b/.github/workflows/bake-jetson-agx-orin-devkit-64gb.yml index def3437ba93c..6c2b3623f08d 100644 --- a/.github/workflows/bake-jetson-agx-orin-devkit-64gb.yml +++ b/.github/workflows/bake-jetson-agx-orin-devkit-64gb.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-64gb-alpine: + name: Prepare jetson-agx-orin-devkit-64gb-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-64gb-alpine: + name: Bake jetson-agx-orin-devkit-64gb-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-64gb-alpine + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-64gb-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-64gb-debian: + name: Prepare jetson-agx-orin-devkit-64gb-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-64gb-debian: + name: Bake jetson-agx-orin-devkit-64gb-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-64gb-debian + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-64gb-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-64gb-fedora: + name: Prepare jetson-agx-orin-devkit-64gb-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-64gb-fedora: + name: Bake jetson-agx-orin-devkit-64gb-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-64gb-fedora + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-64gb-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-64gb-ubuntu: + name: Prepare jetson-agx-orin-devkit-64gb-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-64gb-ubuntu: + name: Bake jetson-agx-orin-devkit-64gb-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-64gb-ubuntu + env: + LIBRARY: library/jetson-agx-orin-devkit-64gb-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-64gb-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-agx-orin-devkit.yml b/.github/workflows/bake-jetson-agx-orin-devkit.yml index f12ba73da77d..702572aac812 100644 --- a/.github/workflows/bake-jetson-agx-orin-devkit.yml +++ b/.github/workflows/bake-jetson-agx-orin-devkit.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-alpine: + name: Prepare jetson-agx-orin-devkit-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-alpine: + name: Bake jetson-agx-orin-devkit-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-alpine + env: + LIBRARY: library/jetson-agx-orin-devkit-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-debian: + name: Prepare jetson-agx-orin-devkit-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-debian: + name: Bake jetson-agx-orin-devkit-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-debian + env: + LIBRARY: library/jetson-agx-orin-devkit-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-fedora: + name: Prepare jetson-agx-orin-devkit-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-fedora: + name: Bake jetson-agx-orin-devkit-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-fedora + env: + LIBRARY: library/jetson-agx-orin-devkit-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-agx-orin-devkit-ubuntu: + name: Prepare jetson-agx-orin-devkit-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-agx-orin-devkit-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-agx-orin-devkit-ubuntu: + name: Bake jetson-agx-orin-devkit-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-agx-orin-devkit-ubuntu + env: + LIBRARY: library/jetson-agx-orin-devkit-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-agx-orin-devkit-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-nano-2gb-devkit.yml b/.github/workflows/bake-jetson-nano-2gb-devkit.yml index 12ef75947088..f82b5e75254e 100644 --- a/.github/workflows/bake-jetson-nano-2gb-devkit.yml +++ b/.github/workflows/bake-jetson-nano-2gb-devkit.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-2gb-devkit-alpine: + name: Prepare jetson-nano-2gb-devkit-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-2gb-devkit-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-2gb-devkit-alpine: + name: Bake jetson-nano-2gb-devkit-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-2gb-devkit-alpine + env: + LIBRARY: library/jetson-nano-2gb-devkit-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-2gb-devkit-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-2gb-devkit-debian: + name: Prepare jetson-nano-2gb-devkit-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-2gb-devkit-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-2gb-devkit-debian: + name: Bake jetson-nano-2gb-devkit-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-2gb-devkit-debian + env: + LIBRARY: library/jetson-nano-2gb-devkit-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-2gb-devkit-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-2gb-devkit-fedora: + name: Prepare jetson-nano-2gb-devkit-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-2gb-devkit-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-2gb-devkit-fedora: + name: Bake jetson-nano-2gb-devkit-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-2gb-devkit-fedora + env: + LIBRARY: library/jetson-nano-2gb-devkit-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-2gb-devkit-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-2gb-devkit-ubuntu: + name: Prepare jetson-nano-2gb-devkit-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-2gb-devkit-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-2gb-devkit-ubuntu: + name: Bake jetson-nano-2gb-devkit-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-2gb-devkit-ubuntu + env: + LIBRARY: library/jetson-nano-2gb-devkit-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-2gb-devkit-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-nano-emmc.yml b/.github/workflows/bake-jetson-nano-emmc.yml index 743eb37d9f83..f9efda47149b 100644 --- a/.github/workflows/bake-jetson-nano-emmc.yml +++ b/.github/workflows/bake-jetson-nano-emmc.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-emmc-alpine: + name: Prepare jetson-nano-emmc-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-emmc-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-emmc-alpine: + name: Bake jetson-nano-emmc-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-emmc-alpine + env: + LIBRARY: library/jetson-nano-emmc-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-emmc-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-emmc-debian: + name: Prepare jetson-nano-emmc-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-emmc-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-emmc-debian: + name: Bake jetson-nano-emmc-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-emmc-debian + env: + LIBRARY: library/jetson-nano-emmc-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-emmc-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-emmc-fedora: + name: Prepare jetson-nano-emmc-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-emmc-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-emmc-fedora: + name: Bake jetson-nano-emmc-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-emmc-fedora + env: + LIBRARY: library/jetson-nano-emmc-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-emmc-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-emmc-ubuntu: + name: Prepare jetson-nano-emmc-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-emmc-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-emmc-ubuntu: + name: Bake jetson-nano-emmc-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-emmc-ubuntu + env: + LIBRARY: library/jetson-nano-emmc-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-emmc-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-nano.yml b/.github/workflows/bake-jetson-nano.yml index 4c0591c7fdb7..933c14f111f0 100644 --- a/.github/workflows/bake-jetson-nano.yml +++ b/.github/workflows/bake-jetson-nano.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-alpine: + name: Prepare jetson-nano-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-alpine: + name: Bake jetson-nano-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-alpine + env: + LIBRARY: library/jetson-nano-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-debian: + name: Prepare jetson-nano-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-debian: + name: Bake jetson-nano-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-debian + env: + LIBRARY: library/jetson-nano-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-fedora: + name: Prepare jetson-nano-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-fedora: + name: Bake jetson-nano-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-fedora + env: + LIBRARY: library/jetson-nano-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-nano-ubuntu: + name: Prepare jetson-nano-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-nano-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-nano-ubuntu: + name: Bake jetson-nano-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-nano-ubuntu + env: + LIBRARY: library/jetson-nano-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-nano-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-orin-nano-devkit-nvme.yml b/.github/workflows/bake-jetson-orin-nano-devkit-nvme.yml index 1932c0ebef62..705efe449066 100644 --- a/.github/workflows/bake-jetson-orin-nano-devkit-nvme.yml +++ b/.github/workflows/bake-jetson-orin-nano-devkit-nvme.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-devkit-nvme-alpine: + name: Prepare jetson-orin-nano-devkit-nvme-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-devkit-nvme-alpine: + name: Bake jetson-orin-nano-devkit-nvme-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-devkit-nvme-alpine + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-devkit-nvme-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-devkit-nvme-debian: + name: Prepare jetson-orin-nano-devkit-nvme-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-devkit-nvme-debian: + name: Bake jetson-orin-nano-devkit-nvme-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-devkit-nvme-debian + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-devkit-nvme-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-devkit-nvme-fedora: + name: Prepare jetson-orin-nano-devkit-nvme-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-devkit-nvme-fedora: + name: Bake jetson-orin-nano-devkit-nvme-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-devkit-nvme-fedora + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-devkit-nvme-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-devkit-nvme-ubuntu: + name: Prepare jetson-orin-nano-devkit-nvme-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-devkit-nvme-ubuntu: + name: Bake jetson-orin-nano-devkit-nvme-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-devkit-nvme-ubuntu + env: + LIBRARY: library/jetson-orin-nano-devkit-nvme-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-devkit-nvme-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-orin-nano-seeed-j3010.yml b/.github/workflows/bake-jetson-orin-nano-seeed-j3010.yml index be9b4a0b2d7d..994efc5f6f12 100644 --- a/.github/workflows/bake-jetson-orin-nano-seeed-j3010.yml +++ b/.github/workflows/bake-jetson-orin-nano-seeed-j3010.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-seeed-j3010-alpine: + name: Prepare jetson-orin-nano-seeed-j3010-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-seeed-j3010-alpine: + name: Bake jetson-orin-nano-seeed-j3010-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-seeed-j3010-alpine + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-seeed-j3010-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-seeed-j3010-debian: + name: Prepare jetson-orin-nano-seeed-j3010-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-seeed-j3010-debian: + name: Bake jetson-orin-nano-seeed-j3010-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-seeed-j3010-debian + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-seeed-j3010-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-seeed-j3010-fedora: + name: Prepare jetson-orin-nano-seeed-j3010-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-seeed-j3010-fedora: + name: Bake jetson-orin-nano-seeed-j3010-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-seeed-j3010-fedora + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-seeed-j3010-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nano-seeed-j3010-ubuntu: + name: Prepare jetson-orin-nano-seeed-j3010-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nano-seeed-j3010-ubuntu: + name: Bake jetson-orin-nano-seeed-j3010-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nano-seeed-j3010-ubuntu + env: + LIBRARY: library/jetson-orin-nano-seeed-j3010-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nano-seeed-j3010-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-orin-nx-seeed-j4012.yml b/.github/workflows/bake-jetson-orin-nx-seeed-j4012.yml index 445724bdaf30..8d4002e4a77b 100644 --- a/.github/workflows/bake-jetson-orin-nx-seeed-j4012.yml +++ b/.github/workflows/bake-jetson-orin-nx-seeed-j4012.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-seeed-j4012-alpine: + name: Prepare jetson-orin-nx-seeed-j4012-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-seeed-j4012-alpine: + name: Bake jetson-orin-nx-seeed-j4012-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-seeed-j4012-alpine + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-seeed-j4012-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-seeed-j4012-debian: + name: Prepare jetson-orin-nx-seeed-j4012-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-seeed-j4012-debian: + name: Bake jetson-orin-nx-seeed-j4012-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-seeed-j4012-debian + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-seeed-j4012-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-seeed-j4012-fedora: + name: Prepare jetson-orin-nx-seeed-j4012-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-seeed-j4012-fedora: + name: Bake jetson-orin-nx-seeed-j4012-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-seeed-j4012-fedora + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-seeed-j4012-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-seeed-j4012-ubuntu: + name: Prepare jetson-orin-nx-seeed-j4012-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-seeed-j4012-ubuntu: + name: Bake jetson-orin-nx-seeed-j4012-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-seeed-j4012-ubuntu + env: + LIBRARY: library/jetson-orin-nx-seeed-j4012-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-seeed-j4012-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-orin-nx-xavier-nx-devkit.yml b/.github/workflows/bake-jetson-orin-nx-xavier-nx-devkit.yml index 97bad88b9aea..9a0d2cbe9a55 100644 --- a/.github/workflows/bake-jetson-orin-nx-xavier-nx-devkit.yml +++ b/.github/workflows/bake-jetson-orin-nx-xavier-nx-devkit.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-xavier-nx-devkit-alpine: + name: Prepare jetson-orin-nx-xavier-nx-devkit-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-xavier-nx-devkit-alpine: + name: Bake jetson-orin-nx-xavier-nx-devkit-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-xavier-nx-devkit-alpine + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-xavier-nx-devkit-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-xavier-nx-devkit-debian: + name: Prepare jetson-orin-nx-xavier-nx-devkit-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-xavier-nx-devkit-debian: + name: Bake jetson-orin-nx-xavier-nx-devkit-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-xavier-nx-devkit-debian + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-xavier-nx-devkit-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-xavier-nx-devkit-fedora: + name: Prepare jetson-orin-nx-xavier-nx-devkit-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-xavier-nx-devkit-fedora: + name: Bake jetson-orin-nx-xavier-nx-devkit-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-xavier-nx-devkit-fedora + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-xavier-nx-devkit-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-orin-nx-xavier-nx-devkit-ubuntu: + name: Prepare jetson-orin-nx-xavier-nx-devkit-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-orin-nx-xavier-nx-devkit-ubuntu: + name: Bake jetson-orin-nx-xavier-nx-devkit-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-orin-nx-xavier-nx-devkit-ubuntu + env: + LIBRARY: library/jetson-orin-nx-xavier-nx-devkit-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-orin-nx-xavier-nx-devkit-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-tx2-nx-devkit.yml b/.github/workflows/bake-jetson-tx2-nx-devkit.yml index 74c21e162c0b..a77a270e8388 100644 --- a/.github/workflows/bake-jetson-tx2-nx-devkit.yml +++ b/.github/workflows/bake-jetson-tx2-nx-devkit.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-nx-devkit-alpine: + name: Prepare jetson-tx2-nx-devkit-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-nx-devkit-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-nx-devkit-alpine: + name: Bake jetson-tx2-nx-devkit-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-nx-devkit-alpine + env: + LIBRARY: library/jetson-tx2-nx-devkit-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-nx-devkit-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-nx-devkit-debian: + name: Prepare jetson-tx2-nx-devkit-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-nx-devkit-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-nx-devkit-debian: + name: Bake jetson-tx2-nx-devkit-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-nx-devkit-debian + env: + LIBRARY: library/jetson-tx2-nx-devkit-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-nx-devkit-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-nx-devkit-fedora: + name: Prepare jetson-tx2-nx-devkit-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-nx-devkit-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-nx-devkit-fedora: + name: Bake jetson-tx2-nx-devkit-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-nx-devkit-fedora + env: + LIBRARY: library/jetson-tx2-nx-devkit-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-nx-devkit-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-nx-devkit-ubuntu: + name: Prepare jetson-tx2-nx-devkit-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-nx-devkit-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-nx-devkit-ubuntu: + name: Bake jetson-tx2-nx-devkit-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-nx-devkit-ubuntu + env: + LIBRARY: library/jetson-tx2-nx-devkit-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-nx-devkit-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-tx2.yml b/.github/workflows/bake-jetson-tx2.yml index 5dfe40906c71..909734aea969 100644 --- a/.github/workflows/bake-jetson-tx2.yml +++ b/.github/workflows/bake-jetson-tx2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-alpine: + name: Prepare jetson-tx2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-alpine: + name: Bake jetson-tx2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-alpine + env: + LIBRARY: library/jetson-tx2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-debian: + name: Prepare jetson-tx2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-debian: + name: Bake jetson-tx2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-debian + env: + LIBRARY: library/jetson-tx2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-fedora: + name: Prepare jetson-tx2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-fedora: + name: Bake jetson-tx2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-fedora + env: + LIBRARY: library/jetson-tx2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-tx2-ubuntu: + name: Prepare jetson-tx2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-tx2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-tx2-ubuntu: + name: Bake jetson-tx2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-tx2-ubuntu + env: + LIBRARY: library/jetson-tx2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-tx2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-xavier-nx-devkit-emmc.yml b/.github/workflows/bake-jetson-xavier-nx-devkit-emmc.yml index d39c95c2c57e..728c5b9f3d1b 100644 --- a/.github/workflows/bake-jetson-xavier-nx-devkit-emmc.yml +++ b/.github/workflows/bake-jetson-xavier-nx-devkit-emmc.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-emmc-alpine: + name: Prepare jetson-xavier-nx-devkit-emmc-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-emmc-alpine: + name: Bake jetson-xavier-nx-devkit-emmc-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-emmc-alpine + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-emmc-debian: + name: Prepare jetson-xavier-nx-devkit-emmc-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-emmc-debian: + name: Bake jetson-xavier-nx-devkit-emmc-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-emmc-debian + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-emmc-fedora: + name: Prepare jetson-xavier-nx-devkit-emmc-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-emmc-fedora: + name: Bake jetson-xavier-nx-devkit-emmc-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-emmc-fedora + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-emmc-ubuntu: + name: Prepare jetson-xavier-nx-devkit-emmc-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-emmc-ubuntu: + name: Bake jetson-xavier-nx-devkit-emmc-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-emmc-ubuntu + env: + LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-xavier-nx-devkit-seeed-2mic-hat.yml b/.github/workflows/bake-jetson-xavier-nx-devkit-seeed-2mic-hat.yml index ff4a6a43af86..166b5a8f581c 100644 --- a/.github/workflows/bake-jetson-xavier-nx-devkit-seeed-2mic-hat.yml +++ b/.github/workflows/bake-jetson-xavier-nx-devkit-seeed-2mic-hat.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-alpine: + name: Prepare jetson-xavier-nx-devkit-seeed-2mic-hat-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-seeed-2mic-hat-alpine: + name: Bake jetson-xavier-nx-devkit-seeed-2mic-hat-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-alpine + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-debian: + name: Prepare jetson-xavier-nx-devkit-seeed-2mic-hat-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-seeed-2mic-hat-debian: + name: Bake jetson-xavier-nx-devkit-seeed-2mic-hat-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-debian + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-fedora: + name: Prepare jetson-xavier-nx-devkit-seeed-2mic-hat-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-seeed-2mic-hat-fedora: + name: Bake jetson-xavier-nx-devkit-seeed-2mic-hat-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-fedora + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu: + name: Prepare jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu: + name: Bake jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu + env: + LIBRARY: library/jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-xavier-nx-devkit.yml b/.github/workflows/bake-jetson-xavier-nx-devkit.yml index 3778a347e759..cf610bf1f6b0 100644 --- a/.github/workflows/bake-jetson-xavier-nx-devkit.yml +++ b/.github/workflows/bake-jetson-xavier-nx-devkit.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-alpine: + name: Prepare jetson-xavier-nx-devkit-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-alpine: + name: Bake jetson-xavier-nx-devkit-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-alpine + env: + LIBRARY: library/jetson-xavier-nx-devkit-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-debian: + name: Prepare jetson-xavier-nx-devkit-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-debian: + name: Bake jetson-xavier-nx-devkit-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-debian + env: + LIBRARY: library/jetson-xavier-nx-devkit-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-fedora: + name: Prepare jetson-xavier-nx-devkit-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-fedora: + name: Bake jetson-xavier-nx-devkit-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-fedora + env: + LIBRARY: library/jetson-xavier-nx-devkit-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-nx-devkit-ubuntu: + name: Prepare jetson-xavier-nx-devkit-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-nx-devkit-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-nx-devkit-ubuntu: + name: Bake jetson-xavier-nx-devkit-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-nx-devkit-ubuntu + env: + LIBRARY: library/jetson-xavier-nx-devkit-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jetson-xavier.yml b/.github/workflows/bake-jetson-xavier.yml index 0e9066930326..9b111898320a 100644 --- a/.github/workflows/bake-jetson-xavier.yml +++ b/.github/workflows/bake-jetson-xavier.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-alpine: + name: Prepare jetson-xavier-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-alpine: + name: Bake jetson-xavier-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-alpine + env: + LIBRARY: library/jetson-xavier-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-debian: + name: Prepare jetson-xavier-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-debian: + name: Bake jetson-xavier-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-debian + env: + LIBRARY: library/jetson-xavier-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-fedora: + name: Prepare jetson-xavier-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-fedora: + name: Bake jetson-xavier-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-fedora + env: + LIBRARY: library/jetson-xavier-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jetson-xavier-ubuntu: + name: Prepare jetson-xavier-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jetson-xavier-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jetson-xavier-ubuntu: + name: Bake jetson-xavier-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jetson-xavier-ubuntu + env: + LIBRARY: library/jetson-xavier-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jetson-xavier-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-jn30b-nano.yml b/.github/workflows/bake-jn30b-nano.yml index 51bc30aa9b4b..2598800a190f 100644 --- a/.github/workflows/bake-jn30b-nano.yml +++ b/.github/workflows/bake-jn30b-nano.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jn30b-nano-alpine: + name: Prepare jn30b-nano-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jn30b-nano-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jn30b-nano-alpine: + name: Bake jn30b-nano-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jn30b-nano-alpine + env: + LIBRARY: library/jn30b-nano-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jn30b-nano-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jn30b-nano-debian: + name: Prepare jn30b-nano-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jn30b-nano-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jn30b-nano-debian: + name: Bake jn30b-nano-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jn30b-nano-debian + env: + LIBRARY: library/jn30b-nano-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jn30b-nano-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jn30b-nano-fedora: + name: Prepare jn30b-nano-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jn30b-nano-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jn30b-nano-fedora: + name: Bake jn30b-nano-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jn30b-nano-fedora + env: + LIBRARY: library/jn30b-nano-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jn30b-nano-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-jn30b-nano-ubuntu: + name: Prepare jn30b-nano-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/jn30b-nano-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-jn30b-nano-ubuntu: + name: Bake jn30b-nano-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-jn30b-nano-ubuntu + env: + LIBRARY: library/jn30b-nano-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-jn30b-nano-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-kontron-mx8mm.yml b/.github/workflows/bake-kontron-mx8mm.yml index 04344b5a1922..01802104b72c 100644 --- a/.github/workflows/bake-kontron-mx8mm.yml +++ b/.github/workflows/bake-kontron-mx8mm.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-kontron-mx8mm-alpine: + name: Prepare kontron-mx8mm-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/kontron-mx8mm-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-kontron-mx8mm-alpine: + name: Bake kontron-mx8mm-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-kontron-mx8mm-alpine + env: + LIBRARY: library/kontron-mx8mm-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-kontron-mx8mm-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-kontron-mx8mm-debian: + name: Prepare kontron-mx8mm-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/kontron-mx8mm-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-kontron-mx8mm-debian: + name: Bake kontron-mx8mm-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-kontron-mx8mm-debian + env: + LIBRARY: library/kontron-mx8mm-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-kontron-mx8mm-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-kontron-mx8mm-fedora: + name: Prepare kontron-mx8mm-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/kontron-mx8mm-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-kontron-mx8mm-fedora: + name: Bake kontron-mx8mm-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-kontron-mx8mm-fedora + env: + LIBRARY: library/kontron-mx8mm-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-kontron-mx8mm-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-kontron-mx8mm-ubuntu: + name: Prepare kontron-mx8mm-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/kontron-mx8mm-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-kontron-mx8mm-ubuntu: + name: Bake kontron-mx8mm-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-kontron-mx8mm-ubuntu + env: + LIBRARY: library/kontron-mx8mm-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-kontron-mx8mm-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-lcbzu9.yml b/.github/workflows/bake-lcbzu9.yml index 8de0580df828..a8bb4c0176ef 100644 --- a/.github/workflows/bake-lcbzu9.yml +++ b/.github/workflows/bake-lcbzu9.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-lcbzu9-alpine: + name: Prepare lcbzu9-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/lcbzu9-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-lcbzu9-alpine: + name: Bake lcbzu9-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-lcbzu9-alpine + env: + LIBRARY: library/lcbzu9-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-lcbzu9-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-lcbzu9-debian: + name: Prepare lcbzu9-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/lcbzu9-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-lcbzu9-debian: + name: Bake lcbzu9-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-lcbzu9-debian + env: + LIBRARY: library/lcbzu9-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-lcbzu9-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-lcbzu9-fedora: + name: Prepare lcbzu9-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/lcbzu9-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-lcbzu9-fedora: + name: Bake lcbzu9-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-lcbzu9-fedora + env: + LIBRARY: library/lcbzu9-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-lcbzu9-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-lcbzu9-ubuntu: + name: Prepare lcbzu9-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/lcbzu9-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-lcbzu9-ubuntu: + name: Bake lcbzu9-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-lcbzu9-ubuntu + env: + LIBRARY: library/lcbzu9-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-lcbzu9-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-n510-tx2.yml b/.github/workflows/bake-n510-tx2.yml index b58550a92a04..b40c20f4d56e 100644 --- a/.github/workflows/bake-n510-tx2.yml +++ b/.github/workflows/bake-n510-tx2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-n510-tx2-alpine: + name: Prepare n510-tx2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/n510-tx2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-n510-tx2-alpine: + name: Bake n510-tx2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-n510-tx2-alpine + env: + LIBRARY: library/n510-tx2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-n510-tx2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-n510-tx2-debian: + name: Prepare n510-tx2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/n510-tx2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-n510-tx2-debian: + name: Bake n510-tx2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-n510-tx2-debian + env: + LIBRARY: library/n510-tx2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-n510-tx2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-n510-tx2-fedora: + name: Prepare n510-tx2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/n510-tx2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-n510-tx2-fedora: + name: Bake n510-tx2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-n510-tx2-fedora + env: + LIBRARY: library/n510-tx2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-n510-tx2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-n510-tx2-ubuntu: + name: Prepare n510-tx2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/n510-tx2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-n510-tx2-ubuntu: + name: Bake n510-tx2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-n510-tx2-ubuntu + env: + LIBRARY: library/n510-tx2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-n510-tx2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-nanopc-t4.yml b/.github/workflows/bake-nanopc-t4.yml index c2e75ac3a3ba..ff7475ee61da 100644 --- a/.github/workflows/bake-nanopc-t4.yml +++ b/.github/workflows/bake-nanopc-t4.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopc-t4-alpine: + name: Prepare nanopc-t4-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopc-t4-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopc-t4-alpine: + name: Bake nanopc-t4-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopc-t4-alpine + env: + LIBRARY: library/nanopc-t4-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopc-t4-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopc-t4-debian: + name: Prepare nanopc-t4-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopc-t4-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopc-t4-debian: + name: Bake nanopc-t4-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopc-t4-debian + env: + LIBRARY: library/nanopc-t4-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopc-t4-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopc-t4-fedora: + name: Prepare nanopc-t4-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopc-t4-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopc-t4-fedora: + name: Bake nanopc-t4-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopc-t4-fedora + env: + LIBRARY: library/nanopc-t4-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopc-t4-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopc-t4-ubuntu: + name: Prepare nanopc-t4-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopc-t4-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopc-t4-ubuntu: + name: Bake nanopc-t4-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopc-t4-ubuntu + env: + LIBRARY: library/nanopc-t4-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopc-t4-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-nanopi-neo-air.yml b/.github/workflows/bake-nanopi-neo-air.yml index cf95a8a359de..50b2dc596560 100644 --- a/.github/workflows/bake-nanopi-neo-air.yml +++ b/.github/workflows/bake-nanopi-neo-air.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-neo-air-alpine: + name: Prepare nanopi-neo-air-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-neo-air-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-neo-air-alpine: + name: Bake nanopi-neo-air-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-neo-air-alpine + env: + LIBRARY: library/nanopi-neo-air-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-neo-air-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-neo-air-debian: + name: Prepare nanopi-neo-air-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-neo-air-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-neo-air-debian: + name: Bake nanopi-neo-air-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-neo-air-debian + env: + LIBRARY: library/nanopi-neo-air-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-neo-air-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-neo-air-ubuntu: + name: Prepare nanopi-neo-air-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-neo-air-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-neo-air-ubuntu: + name: Bake nanopi-neo-air-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-neo-air-ubuntu + env: + LIBRARY: library/nanopi-neo-air-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-neo-air-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-nanopi-r2c.yml b/.github/workflows/bake-nanopi-r2c.yml index 85678c6ecb75..5f6975b36a50 100644 --- a/.github/workflows/bake-nanopi-r2c.yml +++ b/.github/workflows/bake-nanopi-r2c.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2c-alpine: + name: Prepare nanopi-r2c-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2c-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2c-alpine: + name: Bake nanopi-r2c-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2c-alpine + env: + LIBRARY: library/nanopi-r2c-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2c-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2c-debian: + name: Prepare nanopi-r2c-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2c-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2c-debian: + name: Bake nanopi-r2c-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2c-debian + env: + LIBRARY: library/nanopi-r2c-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2c-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2c-fedora: + name: Prepare nanopi-r2c-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2c-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2c-fedora: + name: Bake nanopi-r2c-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2c-fedora + env: + LIBRARY: library/nanopi-r2c-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2c-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2c-ubuntu: + name: Prepare nanopi-r2c-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2c-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2c-ubuntu: + name: Bake nanopi-r2c-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2c-ubuntu + env: + LIBRARY: library/nanopi-r2c-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2c-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-nanopi-r2s.yml b/.github/workflows/bake-nanopi-r2s.yml index b615c307fc10..08116c1a8aad 100644 --- a/.github/workflows/bake-nanopi-r2s.yml +++ b/.github/workflows/bake-nanopi-r2s.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2s-alpine: + name: Prepare nanopi-r2s-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2s-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2s-alpine: + name: Bake nanopi-r2s-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2s-alpine + env: + LIBRARY: library/nanopi-r2s-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2s-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2s-debian: + name: Prepare nanopi-r2s-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2s-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2s-debian: + name: Bake nanopi-r2s-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2s-debian + env: + LIBRARY: library/nanopi-r2s-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2s-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2s-fedora: + name: Prepare nanopi-r2s-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2s-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2s-fedora: + name: Bake nanopi-r2s-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2s-fedora + env: + LIBRARY: library/nanopi-r2s-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2s-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nanopi-r2s-ubuntu: + name: Prepare nanopi-r2s-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nanopi-r2s-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nanopi-r2s-ubuntu: + name: Bake nanopi-r2s-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nanopi-r2s-ubuntu + env: + LIBRARY: library/nanopi-r2s-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nanopi-r2s-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-nitrogen8mm.yml b/.github/workflows/bake-nitrogen8mm.yml index 3e7e5ac74edf..5baa3647cdce 100644 --- a/.github/workflows/bake-nitrogen8mm.yml +++ b/.github/workflows/bake-nitrogen8mm.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nitrogen8mm-alpine: + name: Prepare nitrogen8mm-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nitrogen8mm-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nitrogen8mm-alpine: + name: Bake nitrogen8mm-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nitrogen8mm-alpine + env: + LIBRARY: library/nitrogen8mm-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nitrogen8mm-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nitrogen8mm-debian: + name: Prepare nitrogen8mm-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nitrogen8mm-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nitrogen8mm-debian: + name: Bake nitrogen8mm-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nitrogen8mm-debian + env: + LIBRARY: library/nitrogen8mm-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nitrogen8mm-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nitrogen8mm-fedora: + name: Prepare nitrogen8mm-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nitrogen8mm-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nitrogen8mm-fedora: + name: Bake nitrogen8mm-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nitrogen8mm-fedora + env: + LIBRARY: library/nitrogen8mm-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nitrogen8mm-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-nitrogen8mm-ubuntu: + name: Prepare nitrogen8mm-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/nitrogen8mm-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-nitrogen8mm-ubuntu: + name: Bake nitrogen8mm-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-nitrogen8mm-ubuntu + env: + LIBRARY: library/nitrogen8mm-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-nitrogen8mm-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-npe-x500-m3.yml b/.github/workflows/bake-npe-x500-m3.yml index 2d27fb9ebccf..2be98b8e068a 100644 --- a/.github/workflows/bake-npe-x500-m3.yml +++ b/.github/workflows/bake-npe-x500-m3.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-npe-x500-m3-alpine: + name: Prepare npe-x500-m3-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/npe-x500-m3-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-npe-x500-m3-alpine: + name: Bake npe-x500-m3-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-npe-x500-m3-alpine + env: + LIBRARY: library/npe-x500-m3-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-npe-x500-m3-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-npe-x500-m3-debian: + name: Prepare npe-x500-m3-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/npe-x500-m3-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-npe-x500-m3-debian: + name: Bake npe-x500-m3-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-npe-x500-m3-debian + env: + LIBRARY: library/npe-x500-m3-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-npe-x500-m3-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-npe-x500-m3-ubuntu: + name: Prepare npe-x500-m3-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/npe-x500-m3-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-npe-x500-m3-ubuntu: + name: Bake npe-x500-m3-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-npe-x500-m3-ubuntu + env: + LIBRARY: library/npe-x500-m3-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-npe-x500-m3-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-odroid-xu4.yml b/.github/workflows/bake-odroid-xu4.yml index 1d882c176b1e..c78c81b9c2dc 100644 --- a/.github/workflows/bake-odroid-xu4.yml +++ b/.github/workflows/bake-odroid-xu4.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odroid-xu4-alpine: + name: Prepare odroid-xu4-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odroid-xu4-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odroid-xu4-alpine: + name: Bake odroid-xu4-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-odroid-xu4-alpine + env: + LIBRARY: library/odroid-xu4-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odroid-xu4-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odroid-xu4-debian: + name: Prepare odroid-xu4-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odroid-xu4-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odroid-xu4-debian: + name: Bake odroid-xu4-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-odroid-xu4-debian + env: + LIBRARY: library/odroid-xu4-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odroid-xu4-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odroid-xu4-ubuntu: + name: Prepare odroid-xu4-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odroid-xu4-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odroid-xu4-ubuntu: + name: Bake odroid-xu4-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-odroid-xu4-ubuntu + env: + LIBRARY: library/odroid-xu4-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odroid-xu4-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-odyssey-x86.yml b/.github/workflows/bake-odyssey-x86.yml index 10bb9d7ee4b7..4fb3d269595f 100644 --- a/.github/workflows/bake-odyssey-x86.yml +++ b/.github/workflows/bake-odyssey-x86.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odyssey-x86-alpine: + name: Prepare odyssey-x86-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odyssey-x86-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odyssey-x86-alpine: + name: Bake odyssey-x86-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-odyssey-x86-alpine + env: + LIBRARY: library/odyssey-x86-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odyssey-x86-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odyssey-x86-debian: + name: Prepare odyssey-x86-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odyssey-x86-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odyssey-x86-debian: + name: Bake odyssey-x86-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-odyssey-x86-debian + env: + LIBRARY: library/odyssey-x86-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odyssey-x86-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odyssey-x86-fedora: + name: Prepare odyssey-x86-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odyssey-x86-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odyssey-x86-fedora: + name: Bake odyssey-x86-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-odyssey-x86-fedora + env: + LIBRARY: library/odyssey-x86-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odyssey-x86-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-odyssey-x86-ubuntu: + name: Prepare odyssey-x86-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/odyssey-x86-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-odyssey-x86-ubuntu: + name: Bake odyssey-x86-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-odyssey-x86-ubuntu + env: + LIBRARY: library/odyssey-x86-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-odyssey-x86-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-orange-pi-one.yml b/.github/workflows/bake-orange-pi-one.yml index 532dced12153..be4adeccdc74 100644 --- a/.github/workflows/bake-orange-pi-one.yml +++ b/.github/workflows/bake-orange-pi-one.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-one-alpine: + name: Prepare orange-pi-one-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-one-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-one-alpine: + name: Bake orange-pi-one-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-one-alpine + env: + LIBRARY: library/orange-pi-one-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-one-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-one-debian: + name: Prepare orange-pi-one-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-one-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-one-debian: + name: Bake orange-pi-one-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-one-debian + env: + LIBRARY: library/orange-pi-one-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-one-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-one-ubuntu: + name: Prepare orange-pi-one-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-one-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-one-ubuntu: + name: Bake orange-pi-one-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-one-ubuntu + env: + LIBRARY: library/orange-pi-one-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-one-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-orange-pi-zero.yml b/.github/workflows/bake-orange-pi-zero.yml index fc1ef3a1866e..62e05e69f7dc 100644 --- a/.github/workflows/bake-orange-pi-zero.yml +++ b/.github/workflows/bake-orange-pi-zero.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-zero-alpine: + name: Prepare orange-pi-zero-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-zero-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-zero-alpine: + name: Bake orange-pi-zero-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-zero-alpine + env: + LIBRARY: library/orange-pi-zero-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-zero-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-zero-debian: + name: Prepare orange-pi-zero-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-zero-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-zero-debian: + name: Bake orange-pi-zero-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-zero-debian + env: + LIBRARY: library/orange-pi-zero-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-zero-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orange-pi-zero-ubuntu: + name: Prepare orange-pi-zero-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orange-pi-zero-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orange-pi-zero-ubuntu: + name: Bake orange-pi-zero-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orange-pi-zero-ubuntu + env: + LIBRARY: library/orange-pi-zero-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orange-pi-zero-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-orangepi-plus2.yml b/.github/workflows/bake-orangepi-plus2.yml index 6a4ae4c8c59b..c61eb0391b6e 100644 --- a/.github/workflows/bake-orangepi-plus2.yml +++ b/.github/workflows/bake-orangepi-plus2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orangepi-plus2-alpine: + name: Prepare orangepi-plus2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orangepi-plus2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orangepi-plus2-alpine: + name: Bake orangepi-plus2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orangepi-plus2-alpine + env: + LIBRARY: library/orangepi-plus2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orangepi-plus2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orangepi-plus2-debian: + name: Prepare orangepi-plus2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orangepi-plus2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orangepi-plus2-debian: + name: Bake orangepi-plus2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orangepi-plus2-debian + env: + LIBRARY: library/orangepi-plus2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orangepi-plus2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orangepi-plus2-ubuntu: + name: Prepare orangepi-plus2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orangepi-plus2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orangepi-plus2-ubuntu: + name: Bake orangepi-plus2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orangepi-plus2-ubuntu + env: + LIBRARY: library/orangepi-plus2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orangepi-plus2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-orbitty-tx2.yml b/.github/workflows/bake-orbitty-tx2.yml index de369f10e79f..8d6e38c6417f 100644 --- a/.github/workflows/bake-orbitty-tx2.yml +++ b/.github/workflows/bake-orbitty-tx2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orbitty-tx2-alpine: + name: Prepare orbitty-tx2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orbitty-tx2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orbitty-tx2-alpine: + name: Bake orbitty-tx2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orbitty-tx2-alpine + env: + LIBRARY: library/orbitty-tx2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orbitty-tx2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orbitty-tx2-debian: + name: Prepare orbitty-tx2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orbitty-tx2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orbitty-tx2-debian: + name: Bake orbitty-tx2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orbitty-tx2-debian + env: + LIBRARY: library/orbitty-tx2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orbitty-tx2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orbitty-tx2-fedora: + name: Prepare orbitty-tx2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orbitty-tx2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orbitty-tx2-fedora: + name: Bake orbitty-tx2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orbitty-tx2-fedora + env: + LIBRARY: library/orbitty-tx2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orbitty-tx2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-orbitty-tx2-ubuntu: + name: Prepare orbitty-tx2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/orbitty-tx2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-orbitty-tx2-ubuntu: + name: Bake orbitty-tx2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-orbitty-tx2-ubuntu + env: + LIBRARY: library/orbitty-tx2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-orbitty-tx2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-owa5x.yml b/.github/workflows/bake-owa5x.yml index 4c6ef82e5fb3..51cf0dd092f8 100644 --- a/.github/workflows/bake-owa5x.yml +++ b/.github/workflows/bake-owa5x.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-owa5x-alpine: + name: Prepare owa5x-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/owa5x-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-owa5x-alpine: + name: Bake owa5x-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-owa5x-alpine + env: + LIBRARY: library/owa5x-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-owa5x-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-owa5x-debian: + name: Prepare owa5x-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/owa5x-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-owa5x-debian: + name: Bake owa5x-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-owa5x-debian + env: + LIBRARY: library/owa5x-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-owa5x-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-owa5x-fedora: + name: Prepare owa5x-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/owa5x-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-owa5x-fedora: + name: Bake owa5x-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-owa5x-fedora + env: + LIBRARY: library/owa5x-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-owa5x-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-owa5x-ubuntu: + name: Prepare owa5x-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/owa5x-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-owa5x-ubuntu: + name: Bake owa5x-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-owa5x-ubuntu + env: + LIBRARY: library/owa5x-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-owa5x-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-photon-nano.yml b/.github/workflows/bake-photon-nano.yml index cc482d45e16b..ca4d45ba7c65 100644 --- a/.github/workflows/bake-photon-nano.yml +++ b/.github/workflows/bake-photon-nano.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-nano-alpine: + name: Prepare photon-nano-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-nano-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-nano-alpine: + name: Bake photon-nano-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-nano-alpine + env: + LIBRARY: library/photon-nano-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-nano-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-nano-debian: + name: Prepare photon-nano-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-nano-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-nano-debian: + name: Bake photon-nano-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-nano-debian + env: + LIBRARY: library/photon-nano-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-nano-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-nano-fedora: + name: Prepare photon-nano-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-nano-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-nano-fedora: + name: Bake photon-nano-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-nano-fedora + env: + LIBRARY: library/photon-nano-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-nano-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-nano-ubuntu: + name: Prepare photon-nano-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-nano-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-nano-ubuntu: + name: Bake photon-nano-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-nano-ubuntu + env: + LIBRARY: library/photon-nano-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-nano-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-photon-tx2-nx.yml b/.github/workflows/bake-photon-tx2-nx.yml index 05f18fbb09a9..2855212803aa 100644 --- a/.github/workflows/bake-photon-tx2-nx.yml +++ b/.github/workflows/bake-photon-tx2-nx.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-tx2-nx-alpine: + name: Prepare photon-tx2-nx-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-tx2-nx-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-tx2-nx-alpine: + name: Bake photon-tx2-nx-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-tx2-nx-alpine + env: + LIBRARY: library/photon-tx2-nx-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-tx2-nx-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-tx2-nx-debian: + name: Prepare photon-tx2-nx-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-tx2-nx-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-tx2-nx-debian: + name: Bake photon-tx2-nx-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-tx2-nx-debian + env: + LIBRARY: library/photon-tx2-nx-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-tx2-nx-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-tx2-nx-fedora: + name: Prepare photon-tx2-nx-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-tx2-nx-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-tx2-nx-fedora: + name: Bake photon-tx2-nx-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-tx2-nx-fedora + env: + LIBRARY: library/photon-tx2-nx-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-tx2-nx-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-tx2-nx-ubuntu: + name: Prepare photon-tx2-nx-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-tx2-nx-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-tx2-nx-ubuntu: + name: Bake photon-tx2-nx-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-tx2-nx-ubuntu + env: + LIBRARY: library/photon-tx2-nx-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-tx2-nx-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-photon-xavier-nx.yml b/.github/workflows/bake-photon-xavier-nx.yml index 8836327432de..b8625a33375d 100644 --- a/.github/workflows/bake-photon-xavier-nx.yml +++ b/.github/workflows/bake-photon-xavier-nx.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-xavier-nx-alpine: + name: Prepare photon-xavier-nx-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-xavier-nx-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-xavier-nx-alpine: + name: Bake photon-xavier-nx-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-xavier-nx-alpine + env: + LIBRARY: library/photon-xavier-nx-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-xavier-nx-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-xavier-nx-debian: + name: Prepare photon-xavier-nx-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-xavier-nx-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-xavier-nx-debian: + name: Bake photon-xavier-nx-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-xavier-nx-debian + env: + LIBRARY: library/photon-xavier-nx-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-xavier-nx-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-xavier-nx-fedora: + name: Prepare photon-xavier-nx-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-xavier-nx-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-xavier-nx-fedora: + name: Bake photon-xavier-nx-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-xavier-nx-fedora + env: + LIBRARY: library/photon-xavier-nx-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-xavier-nx-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-photon-xavier-nx-ubuntu: + name: Prepare photon-xavier-nx-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/photon-xavier-nx-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-photon-xavier-nx-ubuntu: + name: Bake photon-xavier-nx-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-photon-xavier-nx-ubuntu + env: + LIBRARY: library/photon-xavier-nx-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-photon-xavier-nx-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-phyboard-lyra-am62xx-2.yml b/.github/workflows/bake-phyboard-lyra-am62xx-2.yml index b566adb62956..a3d70df9dc4b 100644 --- a/.github/workflows/bake-phyboard-lyra-am62xx-2.yml +++ b/.github/workflows/bake-phyboard-lyra-am62xx-2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-phyboard-lyra-am62xx-2-alpine: + name: Prepare phyboard-lyra-am62xx-2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/phyboard-lyra-am62xx-2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-phyboard-lyra-am62xx-2-alpine: + name: Bake phyboard-lyra-am62xx-2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-phyboard-lyra-am62xx-2-alpine + env: + LIBRARY: library/phyboard-lyra-am62xx-2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-phyboard-lyra-am62xx-2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-phyboard-lyra-am62xx-2-debian: + name: Prepare phyboard-lyra-am62xx-2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/phyboard-lyra-am62xx-2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-phyboard-lyra-am62xx-2-debian: + name: Bake phyboard-lyra-am62xx-2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-phyboard-lyra-am62xx-2-debian + env: + LIBRARY: library/phyboard-lyra-am62xx-2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-phyboard-lyra-am62xx-2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-phyboard-lyra-am62xx-2-fedora: + name: Prepare phyboard-lyra-am62xx-2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/phyboard-lyra-am62xx-2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-phyboard-lyra-am62xx-2-fedora: + name: Bake phyboard-lyra-am62xx-2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-phyboard-lyra-am62xx-2-fedora + env: + LIBRARY: library/phyboard-lyra-am62xx-2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-phyboard-lyra-am62xx-2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-phyboard-lyra-am62xx-2-ubuntu: + name: Prepare phyboard-lyra-am62xx-2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/phyboard-lyra-am62xx-2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-phyboard-lyra-am62xx-2-ubuntu: + name: Bake phyboard-lyra-am62xx-2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-phyboard-lyra-am62xx-2-ubuntu + env: + LIBRARY: library/phyboard-lyra-am62xx-2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-phyboard-lyra-am62xx-2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-qemux86-64.yml b/.github/workflows/bake-qemux86-64.yml index 0cbfd32c9c21..64a7a347a038 100644 --- a/.github/workflows/bake-qemux86-64.yml +++ b/.github/workflows/bake-qemux86-64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-64-alpine: + name: Prepare qemux86-64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-64-alpine: + name: Bake qemux86-64-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-64-alpine + env: + LIBRARY: library/qemux86-64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-64-debian: + name: Prepare qemux86-64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-64-debian: + name: Bake qemux86-64-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-64-debian + env: + LIBRARY: library/qemux86-64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-64-fedora: + name: Prepare qemux86-64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-64-fedora: + name: Bake qemux86-64-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-64-fedora + env: + LIBRARY: library/qemux86-64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-64-ubuntu: + name: Prepare qemux86-64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-64-ubuntu: + name: Bake qemux86-64-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-64-ubuntu + env: + LIBRARY: library/qemux86-64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-qemux86.yml b/.github/workflows/bake-qemux86.yml index 82eab615b81d..45e7cd9ba36e 100644 --- a/.github/workflows/bake-qemux86.yml +++ b/.github/workflows/bake-qemux86.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-alpine: + name: Prepare qemux86-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-alpine: + name: Bake qemux86-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-alpine + env: + LIBRARY: library/qemux86-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-debian: + name: Prepare qemux86-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-debian: + name: Bake qemux86-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-debian + env: + LIBRARY: library/qemux86-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-qemux86-ubuntu: + name: Prepare qemux86-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/qemux86-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-qemux86-ubuntu: + name: Bake qemux86-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-qemux86-ubuntu + env: + LIBRARY: library/qemux86-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-qemux86-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberry-pi.yml b/.github/workflows/bake-raspberry-pi.yml index 5369222fed75..f1b1417d7103 100644 --- a/.github/workflows/bake-raspberry-pi.yml +++ b/.github/workflows/bake-raspberry-pi.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,143 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberry-pi-alpine: + name: Prepare raspberry-pi-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberry-pi-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberry-pi-alpine: + name: Bake raspberry-pi-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberry-pi-alpine + env: + LIBRARY: library/raspberry-pi-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberry-pi-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberry-pi-debian: + name: Prepare raspberry-pi-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberry-pi-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberry-pi-debian: + name: Bake raspberry-pi-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberry-pi-debian + env: + LIBRARY: library/raspberry-pi-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberry-pi-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberry-pi2.yml b/.github/workflows/bake-raspberry-pi2.yml index 4345bd716010..e0243e436e26 100644 --- a/.github/workflows/bake-raspberry-pi2.yml +++ b/.github/workflows/bake-raspberry-pi2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberry-pi2-alpine: + name: Prepare raspberry-pi2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberry-pi2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberry-pi2-alpine: + name: Bake raspberry-pi2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberry-pi2-alpine + env: + LIBRARY: library/raspberry-pi2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberry-pi2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberry-pi2-debian: + name: Prepare raspberry-pi2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberry-pi2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberry-pi2-debian: + name: Bake raspberry-pi2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberry-pi2-debian + env: + LIBRARY: library/raspberry-pi2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberry-pi2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberry-pi2-ubuntu: + name: Prepare raspberry-pi2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberry-pi2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberry-pi2-ubuntu: + name: Bake raspberry-pi2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberry-pi2-ubuntu + env: + LIBRARY: library/raspberry-pi2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberry-pi2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi0-2w-64.yml b/.github/workflows/bake-raspberrypi0-2w-64.yml index 83ecbcfc1c1c..95c4d6bb415c 100644 --- a/.github/workflows/bake-raspberrypi0-2w-64.yml +++ b/.github/workflows/bake-raspberrypi0-2w-64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi0-2w-64-alpine: + name: Prepare raspberrypi0-2w-64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi0-2w-64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi0-2w-64-alpine: + name: Bake raspberrypi0-2w-64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi0-2w-64-alpine + env: + LIBRARY: library/raspberrypi0-2w-64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi0-2w-64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi0-2w-64-debian: + name: Prepare raspberrypi0-2w-64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi0-2w-64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi0-2w-64-debian: + name: Bake raspberrypi0-2w-64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi0-2w-64-debian + env: + LIBRARY: library/raspberrypi0-2w-64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi0-2w-64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi0-2w-64-fedora: + name: Prepare raspberrypi0-2w-64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi0-2w-64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi0-2w-64-fedora: + name: Bake raspberrypi0-2w-64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi0-2w-64-fedora + env: + LIBRARY: library/raspberrypi0-2w-64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi0-2w-64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi0-2w-64-ubuntu: + name: Prepare raspberrypi0-2w-64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi0-2w-64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi0-2w-64-ubuntu: + name: Bake raspberrypi0-2w-64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi0-2w-64-ubuntu + env: + LIBRARY: library/raspberrypi0-2w-64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi0-2w-64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi3-64.yml b/.github/workflows/bake-raspberrypi3-64.yml index d54e295b8d76..2d7ea47d271d 100644 --- a/.github/workflows/bake-raspberrypi3-64.yml +++ b/.github/workflows/bake-raspberrypi3-64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-64-alpine: + name: Prepare raspberrypi3-64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-64-alpine: + name: Bake raspberrypi3-64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-64-alpine + env: + LIBRARY: library/raspberrypi3-64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-64-debian: + name: Prepare raspberrypi3-64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-64-debian: + name: Bake raspberrypi3-64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-64-debian + env: + LIBRARY: library/raspberrypi3-64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-64-fedora: + name: Prepare raspberrypi3-64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-64-fedora: + name: Bake raspberrypi3-64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-64-fedora + env: + LIBRARY: library/raspberrypi3-64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-64-ubuntu: + name: Prepare raspberrypi3-64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-64-ubuntu: + name: Bake raspberrypi3-64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-64-ubuntu + env: + LIBRARY: library/raspberrypi3-64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi3.yml b/.github/workflows/bake-raspberrypi3.yml index e38bf958642f..257b6253e72b 100644 --- a/.github/workflows/bake-raspberrypi3.yml +++ b/.github/workflows/bake-raspberrypi3.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-alpine: + name: Prepare raspberrypi3-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-alpine: + name: Bake raspberrypi3-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-alpine + env: + LIBRARY: library/raspberrypi3-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-debian: + name: Prepare raspberrypi3-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-debian: + name: Bake raspberrypi3-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-debian + env: + LIBRARY: library/raspberrypi3-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi3-ubuntu: + name: Prepare raspberrypi3-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi3-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi3-ubuntu: + name: Bake raspberrypi3-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi3-ubuntu + env: + LIBRARY: library/raspberrypi3-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi3-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi4-64.yml b/.github/workflows/bake-raspberrypi4-64.yml index c48d49717cf4..63954b27a46f 100644 --- a/.github/workflows/bake-raspberrypi4-64.yml +++ b/.github/workflows/bake-raspberrypi4-64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-64-alpine: + name: Prepare raspberrypi4-64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-64-alpine: + name: Bake raspberrypi4-64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-64-alpine + env: + LIBRARY: library/raspberrypi4-64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-64-debian: + name: Prepare raspberrypi4-64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-64-debian: + name: Bake raspberrypi4-64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-64-debian + env: + LIBRARY: library/raspberrypi4-64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-64-fedora: + name: Prepare raspberrypi4-64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-64-fedora: + name: Bake raspberrypi4-64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-64-fedora + env: + LIBRARY: library/raspberrypi4-64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-64-ubuntu: + name: Prepare raspberrypi4-64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-64-ubuntu: + name: Bake raspberrypi4-64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-64-ubuntu + env: + LIBRARY: library/raspberrypi4-64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi4-unipi-neuron.yml b/.github/workflows/bake-raspberrypi4-unipi-neuron.yml index 2d66e49800fd..9d827ec148ba 100644 --- a/.github/workflows/bake-raspberrypi4-unipi-neuron.yml +++ b/.github/workflows/bake-raspberrypi4-unipi-neuron.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-unipi-neuron-alpine: + name: Prepare raspberrypi4-unipi-neuron-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-unipi-neuron-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-unipi-neuron-alpine: + name: Bake raspberrypi4-unipi-neuron-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-unipi-neuron-alpine + env: + LIBRARY: library/raspberrypi4-unipi-neuron-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-unipi-neuron-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-unipi-neuron-debian: + name: Prepare raspberrypi4-unipi-neuron-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-unipi-neuron-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-unipi-neuron-debian: + name: Bake raspberrypi4-unipi-neuron-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-unipi-neuron-debian + env: + LIBRARY: library/raspberrypi4-unipi-neuron-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-unipi-neuron-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-unipi-neuron-fedora: + name: Prepare raspberrypi4-unipi-neuron-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-unipi-neuron-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-unipi-neuron-fedora: + name: Bake raspberrypi4-unipi-neuron-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-unipi-neuron-fedora + env: + LIBRARY: library/raspberrypi4-unipi-neuron-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-unipi-neuron-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi4-unipi-neuron-ubuntu: + name: Prepare raspberrypi4-unipi-neuron-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi4-unipi-neuron-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi4-unipi-neuron-ubuntu: + name: Bake raspberrypi4-unipi-neuron-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi4-unipi-neuron-ubuntu + env: + LIBRARY: library/raspberrypi4-unipi-neuron-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi4-unipi-neuron-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi400-64.yml b/.github/workflows/bake-raspberrypi400-64.yml index 690c00b60499..46e535d14789 100644 --- a/.github/workflows/bake-raspberrypi400-64.yml +++ b/.github/workflows/bake-raspberrypi400-64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi400-64-alpine: + name: Prepare raspberrypi400-64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi400-64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi400-64-alpine: + name: Bake raspberrypi400-64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi400-64-alpine + env: + LIBRARY: library/raspberrypi400-64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi400-64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi400-64-debian: + name: Prepare raspberrypi400-64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi400-64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi400-64-debian: + name: Bake raspberrypi400-64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi400-64-debian + env: + LIBRARY: library/raspberrypi400-64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi400-64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi400-64-fedora: + name: Prepare raspberrypi400-64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi400-64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi400-64-fedora: + name: Bake raspberrypi400-64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi400-64-fedora + env: + LIBRARY: library/raspberrypi400-64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi400-64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi400-64-ubuntu: + name: Prepare raspberrypi400-64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi400-64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi400-64-ubuntu: + name: Bake raspberrypi400-64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi400-64-ubuntu + env: + LIBRARY: library/raspberrypi400-64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi400-64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypi5.yml b/.github/workflows/bake-raspberrypi5.yml index 94a80444311e..874a0b2c4330 100644 --- a/.github/workflows/bake-raspberrypi5.yml +++ b/.github/workflows/bake-raspberrypi5.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi5-alpine: + name: Prepare raspberrypi5-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi5-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi5-alpine: + name: Bake raspberrypi5-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi5-alpine + env: + LIBRARY: library/raspberrypi5-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi5-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi5-debian: + name: Prepare raspberrypi5-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi5-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi5-debian: + name: Bake raspberrypi5-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi5-debian + env: + LIBRARY: library/raspberrypi5-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi5-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi5-fedora: + name: Prepare raspberrypi5-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi5-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi5-fedora: + name: Bake raspberrypi5-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi5-fedora + env: + LIBRARY: library/raspberrypi5-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi5-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypi5-ubuntu: + name: Prepare raspberrypi5-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypi5-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypi5-ubuntu: + name: Bake raspberrypi5-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypi5-ubuntu + env: + LIBRARY: library/raspberrypi5-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypi5-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-raspberrypicm4-ioboard.yml b/.github/workflows/bake-raspberrypicm4-ioboard.yml index 7923aaba737a..ffcd6d761901 100644 --- a/.github/workflows/bake-raspberrypicm4-ioboard.yml +++ b/.github/workflows/bake-raspberrypicm4-ioboard.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypicm4-ioboard-alpine: + name: Prepare raspberrypicm4-ioboard-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypicm4-ioboard-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypicm4-ioboard-alpine: + name: Bake raspberrypicm4-ioboard-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypicm4-ioboard-alpine + env: + LIBRARY: library/raspberrypicm4-ioboard-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypicm4-ioboard-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypicm4-ioboard-debian: + name: Prepare raspberrypicm4-ioboard-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypicm4-ioboard-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypicm4-ioboard-debian: + name: Bake raspberrypicm4-ioboard-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypicm4-ioboard-debian + env: + LIBRARY: library/raspberrypicm4-ioboard-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypicm4-ioboard-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypicm4-ioboard-fedora: + name: Prepare raspberrypicm4-ioboard-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypicm4-ioboard-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypicm4-ioboard-fedora: + name: Bake raspberrypicm4-ioboard-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypicm4-ioboard-fedora + env: + LIBRARY: library/raspberrypicm4-ioboard-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypicm4-ioboard-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-raspberrypicm4-ioboard-ubuntu: + name: Prepare raspberrypicm4-ioboard-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/raspberrypicm4-ioboard-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-raspberrypicm4-ioboard-ubuntu: + name: Bake raspberrypicm4-ioboard-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-raspberrypicm4-ioboard-ubuntu + env: + LIBRARY: library/raspberrypicm4-ioboard-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-raspberrypicm4-ioboard-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-revpi-connect-4.yml b/.github/workflows/bake-revpi-connect-4.yml index 498d19d1eae6..e590923c73e9 100644 --- a/.github/workflows/bake-revpi-connect-4.yml +++ b/.github/workflows/bake-revpi-connect-4.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-4-alpine: + name: Prepare revpi-connect-4-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-4-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-4-alpine: + name: Bake revpi-connect-4-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-4-alpine + env: + LIBRARY: library/revpi-connect-4-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-4-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-4-debian: + name: Prepare revpi-connect-4-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-4-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-4-debian: + name: Bake revpi-connect-4-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-4-debian + env: + LIBRARY: library/revpi-connect-4-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-4-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-4-fedora: + name: Prepare revpi-connect-4-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-4-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-4-fedora: + name: Bake revpi-connect-4-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-4-fedora + env: + LIBRARY: library/revpi-connect-4-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-4-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-4-ubuntu: + name: Prepare revpi-connect-4-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-4-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-4-ubuntu: + name: Bake revpi-connect-4-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-4-ubuntu + env: + LIBRARY: library/revpi-connect-4-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-4-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-revpi-connect-s.yml b/.github/workflows/bake-revpi-connect-s.yml index 1e954c856d9c..042798075e8f 100644 --- a/.github/workflows/bake-revpi-connect-s.yml +++ b/.github/workflows/bake-revpi-connect-s.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-s-alpine: + name: Prepare revpi-connect-s-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-s-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-s-alpine: + name: Bake revpi-connect-s-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-s-alpine + env: + LIBRARY: library/revpi-connect-s-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-s-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-s-debian: + name: Prepare revpi-connect-s-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-s-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-s-debian: + name: Bake revpi-connect-s-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-s-debian + env: + LIBRARY: library/revpi-connect-s-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-s-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-s-fedora: + name: Prepare revpi-connect-s-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-s-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-s-fedora: + name: Bake revpi-connect-s-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-s-fedora + env: + LIBRARY: library/revpi-connect-s-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-s-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-s-ubuntu: + name: Prepare revpi-connect-s-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-s-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-s-ubuntu: + name: Bake revpi-connect-s-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-s-ubuntu + env: + LIBRARY: library/revpi-connect-s-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-s-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-revpi-connect.yml b/.github/workflows/bake-revpi-connect.yml index b70f4f6772f4..9760f82f1639 100644 --- a/.github/workflows/bake-revpi-connect.yml +++ b/.github/workflows/bake-revpi-connect.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-alpine: + name: Prepare revpi-connect-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-alpine: + name: Bake revpi-connect-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-alpine + env: + LIBRARY: library/revpi-connect-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-debian: + name: Prepare revpi-connect-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-debian: + name: Bake revpi-connect-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-debian + env: + LIBRARY: library/revpi-connect-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-connect-ubuntu: + name: Prepare revpi-connect-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-connect-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-connect-ubuntu: + name: Bake revpi-connect-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-connect-ubuntu + env: + LIBRARY: library/revpi-connect-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-connect-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-revpi-core-3.yml b/.github/workflows/bake-revpi-core-3.yml index 685cb2080353..8547488e7caf 100644 --- a/.github/workflows/bake-revpi-core-3.yml +++ b/.github/workflows/bake-revpi-core-3.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-core-3-alpine: + name: Prepare revpi-core-3-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-core-3-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-core-3-alpine: + name: Bake revpi-core-3-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-core-3-alpine + env: + LIBRARY: library/revpi-core-3-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-core-3-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-core-3-debian: + name: Prepare revpi-core-3-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-core-3-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-core-3-debian: + name: Bake revpi-core-3-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-core-3-debian + env: + LIBRARY: library/revpi-core-3-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-core-3-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-revpi-core-3-ubuntu: + name: Prepare revpi-core-3-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/revpi-core-3-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-revpi-core-3-ubuntu: + name: Bake revpi-core-3-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-revpi-core-3-ubuntu + env: + LIBRARY: library/revpi-core-3-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-revpi-core-3-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-rockpi-4b-rk3399.yml b/.github/workflows/bake-rockpi-4b-rk3399.yml index 09c942accd68..c82e35ac2d0a 100644 --- a/.github/workflows/bake-rockpi-4b-rk3399.yml +++ b/.github/workflows/bake-rockpi-4b-rk3399.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpi-4b-rk3399-alpine: + name: Prepare rockpi-4b-rk3399-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpi-4b-rk3399-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpi-4b-rk3399-alpine: + name: Bake rockpi-4b-rk3399-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpi-4b-rk3399-alpine + env: + LIBRARY: library/rockpi-4b-rk3399-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpi-4b-rk3399-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpi-4b-rk3399-debian: + name: Prepare rockpi-4b-rk3399-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpi-4b-rk3399-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpi-4b-rk3399-debian: + name: Bake rockpi-4b-rk3399-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpi-4b-rk3399-debian + env: + LIBRARY: library/rockpi-4b-rk3399-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpi-4b-rk3399-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpi-4b-rk3399-fedora: + name: Prepare rockpi-4b-rk3399-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpi-4b-rk3399-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpi-4b-rk3399-fedora: + name: Bake rockpi-4b-rk3399-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpi-4b-rk3399-fedora + env: + LIBRARY: library/rockpi-4b-rk3399-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpi-4b-rk3399-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpi-4b-rk3399-ubuntu: + name: Prepare rockpi-4b-rk3399-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpi-4b-rk3399-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpi-4b-rk3399-ubuntu: + name: Bake rockpi-4b-rk3399-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpi-4b-rk3399-ubuntu + env: + LIBRARY: library/rockpi-4b-rk3399-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpi-4b-rk3399-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-rockpro64.yml b/.github/workflows/bake-rockpro64.yml index c9a800c21607..f48e9e5706e7 100644 --- a/.github/workflows/bake-rockpro64.yml +++ b/.github/workflows/bake-rockpro64.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpro64-alpine: + name: Prepare rockpro64-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpro64-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpro64-alpine: + name: Bake rockpro64-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpro64-alpine + env: + LIBRARY: library/rockpro64-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpro64-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpro64-debian: + name: Prepare rockpro64-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpro64-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpro64-debian: + name: Bake rockpro64-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpro64-debian + env: + LIBRARY: library/rockpro64-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpro64-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpro64-fedora: + name: Prepare rockpro64-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpro64-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpro64-fedora: + name: Bake rockpro64-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpro64-fedora + env: + LIBRARY: library/rockpro64-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpro64-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-rockpro64-ubuntu: + name: Prepare rockpro64-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/rockpro64-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-rockpro64-ubuntu: + name: Bake rockpro64-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-rockpro64-ubuntu + env: + LIBRARY: library/rockpro64-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-rockpro64-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-rpi.yml b/.github/workflows/bake-rpi.yml index c3a478f40367..3ee15c04abed 100644 --- a/.github/workflows/bake-rpi.yml +++ b/.github/workflows/bake-rpi.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-smarc-px30.yml b/.github/workflows/bake-smarc-px30.yml index 94efbbb62b77..2aa1e973efda 100644 --- a/.github/workflows/bake-smarc-px30.yml +++ b/.github/workflows/bake-smarc-px30.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-smarc-px30-alpine: + name: Prepare smarc-px30-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/smarc-px30-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-smarc-px30-alpine: + name: Bake smarc-px30-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-smarc-px30-alpine + env: + LIBRARY: library/smarc-px30-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-smarc-px30-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-smarc-px30-debian: + name: Prepare smarc-px30-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/smarc-px30-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-smarc-px30-debian: + name: Bake smarc-px30-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-smarc-px30-debian + env: + LIBRARY: library/smarc-px30-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-smarc-px30-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-smarc-px30-fedora: + name: Prepare smarc-px30-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/smarc-px30-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-smarc-px30-fedora: + name: Bake smarc-px30-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-smarc-px30-fedora + env: + LIBRARY: library/smarc-px30-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-smarc-px30-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-smarc-px30-ubuntu: + name: Prepare smarc-px30-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/smarc-px30-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-smarc-px30-ubuntu: + name: Bake smarc-px30-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-smarc-px30-ubuntu + env: + LIBRARY: library/smarc-px30-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-smarc-px30-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-spacely-tx2.yml b/.github/workflows/bake-spacely-tx2.yml index 70499f617fe3..a4785de47865 100644 --- a/.github/workflows/bake-spacely-tx2.yml +++ b/.github/workflows/bake-spacely-tx2.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-spacely-tx2-alpine: + name: Prepare spacely-tx2-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/spacely-tx2-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-spacely-tx2-alpine: + name: Bake spacely-tx2-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-spacely-tx2-alpine + env: + LIBRARY: library/spacely-tx2-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-spacely-tx2-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-spacely-tx2-debian: + name: Prepare spacely-tx2-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/spacely-tx2-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-spacely-tx2-debian: + name: Bake spacely-tx2-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-spacely-tx2-debian + env: + LIBRARY: library/spacely-tx2-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-spacely-tx2-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-spacely-tx2-fedora: + name: Prepare spacely-tx2-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/spacely-tx2-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-spacely-tx2-fedora: + name: Bake spacely-tx2-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-spacely-tx2-fedora + env: + LIBRARY: library/spacely-tx2-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-spacely-tx2-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-spacely-tx2-ubuntu: + name: Prepare spacely-tx2-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/spacely-tx2-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-spacely-tx2-ubuntu: + name: Bake spacely-tx2-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-spacely-tx2-ubuntu + env: + LIBRARY: library/spacely-tx2-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-spacely-tx2-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-surface-go.yml b/.github/workflows/bake-surface-go.yml index 48a8497d8dfd..07c5d4387343 100644 --- a/.github/workflows/bake-surface-go.yml +++ b/.github/workflows/bake-surface-go.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-go-alpine: + name: Prepare surface-go-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-go-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-go-alpine: + name: Bake surface-go-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-go-alpine + env: + LIBRARY: library/surface-go-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-go-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-go-debian: + name: Prepare surface-go-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-go-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-go-debian: + name: Bake surface-go-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-go-debian + env: + LIBRARY: library/surface-go-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-go-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-go-fedora: + name: Prepare surface-go-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-go-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-go-fedora: + name: Bake surface-go-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-go-fedora + env: + LIBRARY: library/surface-go-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-go-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-go-ubuntu: + name: Prepare surface-go-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-go-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-go-ubuntu: + name: Bake surface-go-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-go-ubuntu + env: + LIBRARY: library/surface-go-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-go-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-surface-pro-6.yml b/.github/workflows/bake-surface-pro-6.yml index df19b557a9f0..4dcc640a6187 100644 --- a/.github/workflows/bake-surface-pro-6.yml +++ b/.github/workflows/bake-surface-pro-6.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-pro-6-alpine: + name: Prepare surface-pro-6-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-pro-6-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-pro-6-alpine: + name: Bake surface-pro-6-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-pro-6-alpine + env: + LIBRARY: library/surface-pro-6-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-pro-6-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-pro-6-debian: + name: Prepare surface-pro-6-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-pro-6-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-pro-6-debian: + name: Bake surface-pro-6-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-pro-6-debian + env: + LIBRARY: library/surface-pro-6-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-pro-6-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-pro-6-fedora: + name: Prepare surface-pro-6-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-pro-6-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-pro-6-fedora: + name: Bake surface-pro-6-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-pro-6-fedora + env: + LIBRARY: library/surface-pro-6-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-pro-6-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-surface-pro-6-ubuntu: + name: Prepare surface-pro-6-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/surface-pro-6-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-surface-pro-6-ubuntu: + name: Bake surface-pro-6-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-surface-pro-6-ubuntu + env: + LIBRARY: library/surface-pro-6-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-surface-pro-6-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-tdpzu9.yml b/.github/workflows/bake-tdpzu9.yml index 89d21c916328..48118ffe741c 100644 --- a/.github/workflows/bake-tdpzu9.yml +++ b/.github/workflows/bake-tdpzu9.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-tdpzu9-alpine: + name: Prepare tdpzu9-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/tdpzu9-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-tdpzu9-alpine: + name: Bake tdpzu9-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-tdpzu9-alpine + env: + LIBRARY: library/tdpzu9-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-tdpzu9-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-tdpzu9-debian: + name: Prepare tdpzu9-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/tdpzu9-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-tdpzu9-debian: + name: Bake tdpzu9-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-tdpzu9-debian + env: + LIBRARY: library/tdpzu9-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-tdpzu9-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-tdpzu9-fedora: + name: Prepare tdpzu9-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/tdpzu9-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-tdpzu9-fedora: + name: Bake tdpzu9-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-tdpzu9-fedora + env: + LIBRARY: library/tdpzu9-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-tdpzu9-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-tdpzu9-ubuntu: + name: Prepare tdpzu9-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/tdpzu9-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-tdpzu9-ubuntu: + name: Bake tdpzu9-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-tdpzu9-ubuntu + env: + LIBRARY: library/tdpzu9-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-tdpzu9-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-ucm-imx93.yml b/.github/workflows/bake-ucm-imx93.yml index 00955033c16d..66dfca0df072 100644 --- a/.github/workflows/bake-ucm-imx93.yml +++ b/.github/workflows/bake-ucm-imx93.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ucm-imx93-alpine: + name: Prepare ucm-imx93-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ucm-imx93-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ucm-imx93-alpine: + name: Bake ucm-imx93-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ucm-imx93-alpine + env: + LIBRARY: library/ucm-imx93-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ucm-imx93-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ucm-imx93-debian: + name: Prepare ucm-imx93-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ucm-imx93-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ucm-imx93-debian: + name: Bake ucm-imx93-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ucm-imx93-debian + env: + LIBRARY: library/ucm-imx93-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ucm-imx93-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ucm-imx93-fedora: + name: Prepare ucm-imx93-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ucm-imx93-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ucm-imx93-fedora: + name: Bake ucm-imx93-fedora + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ucm-imx93-fedora + env: + LIBRARY: library/ucm-imx93-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ucm-imx93-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-ucm-imx93-ubuntu: + name: Prepare ucm-imx93-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/ucm-imx93-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-ucm-imx93-ubuntu: + name: Bake ucm-imx93-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-ucm-imx93-ubuntu + env: + LIBRARY: library/ucm-imx93-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-ucm-imx93-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-up-board.yml b/.github/workflows/bake-up-board.yml index af486723d5d5..4528bcaff40a 100644 --- a/.github/workflows/bake-up-board.yml +++ b/.github/workflows/bake-up-board.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -739,10 +750,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -801,10 +813,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -863,10 +876,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -925,10 +939,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -987,10 +1002,275 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-up-board-alpine: + name: Prepare up-board-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/up-board-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-up-board-alpine: + name: Bake up-board-alpine + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-up-board-alpine + env: + LIBRARY: library/up-board-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-up-board-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-up-board-debian: + name: Prepare up-board-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/up-board-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-up-board-debian: + name: Bake up-board-debian + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-up-board-debian + env: + LIBRARY: library/up-board-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-up-board-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-up-board-fedora: + name: Prepare up-board-fedora + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/up-board-fedora.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-up-board-fedora: + name: Bake up-board-fedora + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-up-board-fedora + env: + LIBRARY: library/up-board-fedora.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-up-board-fedora.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-up-board-ubuntu: + name: Prepare up-board-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/up-board-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-up-board-ubuntu: + name: Bake up-board-ubuntu + runs-on: + - self-hosted + - base-images + - X64 + timeout-minutes: 240 + needs: prepare-up-board-ubuntu + env: + LIBRARY: library/up-board-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-up-board-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: diff --git a/.github/workflows/bake-var-som-mx6.yml b/.github/workflows/bake-var-som-mx6.yml index 4bd42dd6d722..49cccc3f4ee1 100644 --- a/.github/workflows/bake-var-som-mx6.yml +++ b/.github/workflows/bake-var-som-mx6.yml @@ -57,10 +57,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -119,10 +120,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -181,10 +183,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -243,10 +246,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -305,10 +309,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -367,10 +372,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -429,10 +435,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -491,10 +498,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -553,10 +561,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -615,10 +624,11 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: @@ -677,10 +687,209 @@ jobs: with: fetch-depth: 1 - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' with: platforms: all - image: tonistiigi/binfmt:qemu-v6.2.0 + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-var-som-mx6-alpine: + name: Prepare var-som-mx6-alpine + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/var-som-mx6-alpine.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-var-som-mx6-alpine: + name: Bake var-som-mx6-alpine + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-var-som-mx6-alpine + env: + LIBRARY: library/var-som-mx6-alpine.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-var-som-mx6-alpine.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-var-som-mx6-debian: + name: Prepare var-som-mx6-debian + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/var-som-mx6-debian.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-var-som-mx6-debian: + name: Bake var-som-mx6-debian + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-var-som-mx6-debian + env: + LIBRARY: library/var-som-mx6-debian.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-var-som-mx6-debian.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 + - name: Setup buildx + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb + with: + driver-opts: network=host + install: true + - name: Login to DockerHub + uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 + if: inputs.no-push != true + with: + registry: docker.io + username: ${{ secrets.BALENAIMAGES_USER }} + password: ${{ secrets.BALENAIMAGES_TOKEN }} + - name: Docker bake + continue-on-error: false + id: docker_bake + uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 + with: + workdir: balena-base-images + files: ${{ github.workspace }}/${{ env.LIBRARY }} + targets: ${{ matrix.target }} + push: ${{ inputs.no-push != true }} + provenance: false + prepare-var-som-mx6-ubuntu: + name: Prepare var-som-mx6-ubuntu + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} + outputs: + bake-targets: ${{ steps.bake-targets.outputs.matrix }} + env: + LIBRARY: library/var-som-mx6-ubuntu.json + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Set matrix + id: bake-targets + run: | + set -x + targets="$(jq -cr '.group.default.targets' $LIBRARY)" + echo "matrix=$targets" >> $GITHUB_OUTPUT + bake-var-som-mx6-ubuntu: + name: Bake var-som-mx6-ubuntu + runs-on: + - self-hosted + - base-images + - ARM64 + timeout-minutes: 240 + needs: prepare-var-som-mx6-ubuntu + env: + LIBRARY: library/var-som-mx6-ubuntu.json + strategy: + fail-fast: false + matrix: + target: ${{ fromJSON(needs.prepare-var-som-mx6-ubuntu.outputs.bake-targets) }} + steps: + - name: Checkout code + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + with: + fetch-depth: 1 + - name: Setup QEMU + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + if: runner.arch != 'ARM64' + with: + platforms: all + image: tonistiigi/binfmt:qemu-v8.0.4-33 - name: Setup buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb with: