Bake imx8mm-var-dart #10
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 imx8mm-var-dart | |
'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-imx8mm-var-dart-alpine-golang: | |
name: Prepare imx8mm-var-dart-alpine-golang | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-golang: | |
name: Bake imx8mm-var-dart-alpine-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-alpine-golang | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-alpine-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-alpine-node: | |
name: Prepare imx8mm-var-dart-alpine-node | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-node: | |
name: Bake imx8mm-var-dart-alpine-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-alpine-node | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-alpine-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-alpine-python: | |
name: Prepare imx8mm-var-dart-alpine-python | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-python: | |
name: Bake imx8mm-var-dart-alpine-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-alpine-python | |
env: | |
LIBRARY: library/imx8mm-var-dart-alpine-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-alpine-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-debian-golang: | |
name: Prepare imx8mm-var-dart-debian-golang | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-golang: | |
name: Bake imx8mm-var-dart-debian-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-debian-golang | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-debian-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-debian-node: | |
name: Prepare imx8mm-var-dart-debian-node | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-node: | |
name: Bake imx8mm-var-dart-debian-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-debian-node | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-debian-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-debian-openjdk: | |
name: Prepare imx8mm-var-dart-debian-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-openjdk.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-openjdk: | |
name: Bake imx8mm-var-dart-debian-openjdk | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-debian-openjdk | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-debian-openjdk.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-debian-python: | |
name: Prepare imx8mm-var-dart-debian-python | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-python: | |
name: Bake imx8mm-var-dart-debian-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-debian-python | |
env: | |
LIBRARY: library/imx8mm-var-dart-debian-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-debian-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-fedora-golang: | |
name: Prepare imx8mm-var-dart-fedora-golang | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-golang: | |
name: Bake imx8mm-var-dart-fedora-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-fedora-golang | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-fedora-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-fedora-node: | |
name: Prepare imx8mm-var-dart-fedora-node | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-node: | |
name: Bake imx8mm-var-dart-fedora-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-fedora-node | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-fedora-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-fedora-python: | |
name: Prepare imx8mm-var-dart-fedora-python | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-fedora | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-python: | |
name: Bake imx8mm-var-dart-fedora-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-fedora-python | |
env: | |
LIBRARY: library/imx8mm-var-dart-fedora-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-fedora-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-ubuntu-golang: | |
name: Prepare imx8mm-var-dart-ubuntu-golang | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-golang.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-golang: | |
name: Bake imx8mm-var-dart-ubuntu-golang | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-ubuntu-golang | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-ubuntu-golang.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-ubuntu-node: | |
name: Prepare imx8mm-var-dart-ubuntu-node | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-node.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-node: | |
name: Bake imx8mm-var-dart-ubuntu-node | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-ubuntu-node | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-ubuntu-node.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-ubuntu-python: | |
name: Prepare imx8mm-var-dart-ubuntu-python | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-python.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-python: | |
name: Bake imx8mm-var-dart-ubuntu-python | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-ubuntu-python | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-ubuntu-python.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-imx8mm-var-dart-ubuntu-openjdk: | |
name: Prepare imx8mm-var-dart-ubuntu-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-imx8mm-var-dart-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-openjdk.json | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-openjdk: | |
name: Bake imx8mm-var-dart-ubuntu-openjdk | |
runs-on: | |
- self-hosted | |
- base-images | |
- ARM64 | |
timeout-minutes: 240 | |
needs: prepare-imx8mm-var-dart-ubuntu-openjdk | |
env: | |
LIBRARY: library/imx8mm-var-dart-ubuntu-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-imx8mm-var-dart-ubuntu-openjdk.outputs.bake-targets) }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- 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-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 | |
persist-credentials: false | |
- 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 | |
persist-credentials: false | |
- 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-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 | |
persist-credentials: false | |
- 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 | |
persist-credentials: false | |
- 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-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 | |
persist-credentials: false | |
- 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 | |
persist-credentials: false | |
- 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-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 | |
persist-credentials: false | |
- 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 | |
persist-credentials: false | |
- 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 |