Skip to content

Bake kontron-mx8mm

Bake kontron-mx8mm #8

name: Bake kontron-mx8mm
'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-kontron-mx8mm-alpine-golang:
name: Prepare kontron-mx8mm-alpine-golang
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-alpine-golang:
name: Bake kontron-mx8mm-alpine-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-alpine-golang
env:
LIBRARY: library/kontron-mx8mm-alpine-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-alpine-node:
name: Prepare kontron-mx8mm-alpine-node
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-alpine-node:
name: Bake kontron-mx8mm-alpine-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-alpine-node
env:
LIBRARY: library/kontron-mx8mm-alpine-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-alpine-python:
name: Prepare kontron-mx8mm-alpine-python
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-alpine-python:
name: Bake kontron-mx8mm-alpine-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-alpine-python
env:
LIBRARY: library/kontron-mx8mm-alpine-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-debian-golang:
name: Prepare kontron-mx8mm-debian-golang
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-debian-golang:
name: Bake kontron-mx8mm-debian-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-debian-golang
env:
LIBRARY: library/kontron-mx8mm-debian-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-debian-node:
name: Prepare kontron-mx8mm-debian-node
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-debian-node:
name: Bake kontron-mx8mm-debian-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-debian-node
env:
LIBRARY: library/kontron-mx8mm-debian-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-debian-openjdk:
name: Prepare kontron-mx8mm-debian-openjdk
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-debian-openjdk:
name: Bake kontron-mx8mm-debian-openjdk
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-debian-openjdk
env:
LIBRARY: library/kontron-mx8mm-debian-openjdk.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-debian-python:
name: Prepare kontron-mx8mm-debian-python
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-debian-python:
name: Bake kontron-mx8mm-debian-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-debian-python
env:
LIBRARY: library/kontron-mx8mm-debian-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-fedora-golang:
name: Prepare kontron-mx8mm-fedora-golang
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-fedora-golang:
name: Bake kontron-mx8mm-fedora-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-fedora-golang
env:
LIBRARY: library/kontron-mx8mm-fedora-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-fedora-node:
name: Prepare kontron-mx8mm-fedora-node
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-fedora-node:
name: Bake kontron-mx8mm-fedora-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-fedora-node
env:
LIBRARY: library/kontron-mx8mm-fedora-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-fedora-python:
name: Prepare kontron-mx8mm-fedora-python
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-fedora-python:
name: Bake kontron-mx8mm-fedora-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-fedora-python
env:
LIBRARY: library/kontron-mx8mm-fedora-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-ubuntu-golang:
name: Prepare kontron-mx8mm-ubuntu-golang
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-ubuntu-golang:
name: Bake kontron-mx8mm-ubuntu-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-ubuntu-golang
env:
LIBRARY: library/kontron-mx8mm-ubuntu-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-ubuntu-node:
name: Prepare kontron-mx8mm-ubuntu-node
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-ubuntu-node:
name: Bake kontron-mx8mm-ubuntu-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-ubuntu-node
env:
LIBRARY: library/kontron-mx8mm-ubuntu-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-ubuntu-python:
name: Prepare kontron-mx8mm-ubuntu-python
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-ubuntu-python:
name: Bake kontron-mx8mm-ubuntu-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-ubuntu-python
env:
LIBRARY: library/kontron-mx8mm-ubuntu-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-kontron-mx8mm-ubuntu-openjdk:
name: Prepare kontron-mx8mm-ubuntu-openjdk
runs-on: ubuntu-latest
needs: bake-kontron-mx8mm-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/kontron-mx8mm-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-kontron-mx8mm-ubuntu-openjdk:
name: Bake kontron-mx8mm-ubuntu-openjdk
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-kontron-mx8mm-ubuntu-openjdk
env:
LIBRARY: library/kontron-mx8mm-ubuntu-openjdk.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-kontron-mx8mm-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-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 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-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 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-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 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-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 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