Bake jetson-xavier-nx-devkit-emmc #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bake jetson-xavier-nx-devkit-emmc | |
'on': | |
workflow_run: | |
workflows: | |
- Bake aarch64 | |
types: | |
- completed | |
workflow_dispatch: | |
inputs: | |
no-push: | |
description: Do not push to DockerHub | |
required: false | |
type: boolean | |
default: false | |
cancel-in-progress: | |
description: Cancel all in-progress bake workflows and only run this one | |
required: false | |
type: boolean | |
default: false | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: ${{ inputs.cancel-in-progress == true }} | |
jobs: | |
prepare-jetson-xavier-nx-devkit-emmc-alpine-golang: | |
name: Prepare jetson-xavier-nx-devkit-emmc-alpine-golang | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-golang: | |
name: Bake jetson-xavier-nx-devkit-emmc-alpine-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-alpine-golang | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-alpine-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-node: | |
name: Prepare jetson-xavier-nx-devkit-emmc-alpine-node | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-node: | |
name: Bake jetson-xavier-nx-devkit-emmc-alpine-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-alpine-node | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-alpine-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-python: | |
name: Prepare jetson-xavier-nx-devkit-emmc-alpine-python | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-python: | |
name: Bake jetson-xavier-nx-devkit-emmc-alpine-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-alpine-python | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-alpine-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-alpine-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-golang: | |
name: Prepare jetson-xavier-nx-devkit-emmc-debian-golang | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-golang: | |
name: Bake jetson-xavier-nx-devkit-emmc-debian-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-debian-golang | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-debian-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-node: | |
name: Prepare jetson-xavier-nx-devkit-emmc-debian-node | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-node: | |
name: Bake jetson-xavier-nx-devkit-emmc-debian-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-debian-node | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-debian-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-openjdk: | |
name: Prepare jetson-xavier-nx-devkit-emmc-debian-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-openjdk.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-openjdk: | |
name: Bake jetson-xavier-nx-devkit-emmc-debian-openjdk | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-debian-openjdk | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-debian-openjdk.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-python: | |
name: Prepare jetson-xavier-nx-devkit-emmc-debian-python | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-python: | |
name: Bake jetson-xavier-nx-devkit-emmc-debian-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-debian-python | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-debian-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-debian-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-golang: | |
name: Prepare jetson-xavier-nx-devkit-emmc-fedora-golang | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-golang: | |
name: Bake jetson-xavier-nx-devkit-emmc-fedora-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-fedora-golang | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-fedora-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-node: | |
name: Prepare jetson-xavier-nx-devkit-emmc-fedora-node | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-node: | |
name: Bake jetson-xavier-nx-devkit-emmc-fedora-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-fedora-node | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-fedora-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-python: | |
name: Prepare jetson-xavier-nx-devkit-emmc-fedora-python | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-python: | |
name: Bake jetson-xavier-nx-devkit-emmc-fedora-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-fedora-python | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-fedora-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-fedora-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-golang: | |
name: Prepare jetson-xavier-nx-devkit-emmc-ubuntu-golang | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-golang: | |
name: Bake jetson-xavier-nx-devkit-emmc-ubuntu-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-ubuntu-golang | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-ubuntu-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-node: | |
name: Prepare jetson-xavier-nx-devkit-emmc-ubuntu-node | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-node: | |
name: Bake jetson-xavier-nx-devkit-emmc-ubuntu-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-ubuntu-node | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-ubuntu-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-python: | |
name: Prepare jetson-xavier-nx-devkit-emmc-ubuntu-python | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-python: | |
name: Bake jetson-xavier-nx-devkit-emmc-ubuntu-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-ubuntu-python | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-ubuntu-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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-openjdk: | |
name: Prepare jetson-xavier-nx-devkit-emmc-ubuntu-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-jetson-xavier-nx-devkit-emmc-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-openjdk.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-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-openjdk: | |
name: Bake jetson-xavier-nx-devkit-emmc-ubuntu-openjdk | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-jetson-xavier-nx-devkit-emmc-ubuntu-openjdk | |
env: | |
LIBRARY: library/jetson-xavier-nx-devkit-emmc-ubuntu-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-jetson-xavier-nx-devkit-emmc-ubuntu-openjdk.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
- name: Setup buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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 buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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 buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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 buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/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 buildx | |
id: setup-buildx | |
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | |
with: | |
driver-opts: network=host | |
install: true | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | |
with: | |
platforms: all | |
image: tonistiigi/binfmt:qemu-v8.0.4-33 | |
if: contains(steps.setup-buildx.outputs.platforms, 'linux/arm64') == false | |
- name: Login to DockerHub | |
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | |
if: inputs.no-push != true | |
with: | |
registry: docker.io | |
username: ${{ secrets.BALENAIMAGES_USER }} | |
password: ${{ secrets.BALENAIMAGES_TOKEN }} | |
- name: Docker bake | |
continue-on-error: false | |
id: docker_bake | |
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | |
with: | |
workdir: balena-base-images | |
files: ${{ github.workspace }}/${{ env.LIBRARY }} | |
targets: ${{ matrix.target }} | |
push: ${{ inputs.no-push != true }} | |
provenance: false |