Commit generated workflows for testing #8
Workflow file for this run
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 intel-nuc | ||
'on': | ||
workflow_run: | ||
workflows: | ||
- Bake amd64 | ||
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: bake | ||
cancel-in-progress: ${{ inputs.cancel-in-progress == true }} | ||
jobs: | ||
prepare-intel-nuc-alpine-golang: | ||
name: Prepare intel-nuc-alpine-golang | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-alpine | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-alpine-golang: | ||
name: Bake intel-nuc-alpine-golang | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-alpine-golang | ||
env: | ||
LIBRARY: library/intel-nuc-alpine-golang.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-alpine-golang.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-alpine-node: | ||
name: Prepare intel-nuc-alpine-node | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-alpine | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-alpine-node: | ||
name: Bake intel-nuc-alpine-node | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-alpine-node | ||
env: | ||
LIBRARY: library/intel-nuc-alpine-node.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-alpine-node.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-alpine-python: | ||
name: Prepare intel-nuc-alpine-python | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-alpine | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-alpine-python: | ||
name: Bake intel-nuc-alpine-python | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-alpine-python | ||
env: | ||
LIBRARY: library/intel-nuc-alpine-python.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-alpine-python.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian-dotnet: | ||
name: Prepare intel-nuc-debian-dotnet | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-debian | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-debian-dotnet.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-debian-dotnet: | ||
name: Bake intel-nuc-debian-dotnet | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian-dotnet | ||
env: | ||
LIBRARY: library/intel-nuc-debian-dotnet.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian-dotnet.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian-golang: | ||
name: Prepare intel-nuc-debian-golang | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-debian | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-debian-golang: | ||
name: Bake intel-nuc-debian-golang | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian-golang | ||
env: | ||
LIBRARY: library/intel-nuc-debian-golang.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian-golang.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian-node: | ||
name: Prepare intel-nuc-debian-node | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-debian | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-debian-node: | ||
name: Bake intel-nuc-debian-node | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian-node | ||
env: | ||
LIBRARY: library/intel-nuc-debian-node.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian-node.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian-openjdk: | ||
name: Prepare intel-nuc-debian-openjdk | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-debian | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-debian-openjdk: | ||
name: Bake intel-nuc-debian-openjdk | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian-openjdk | ||
env: | ||
LIBRARY: library/intel-nuc-debian-openjdk.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian-openjdk.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian-python: | ||
name: Prepare intel-nuc-debian-python | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-debian | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-debian-python: | ||
name: Bake intel-nuc-debian-python | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian-python | ||
env: | ||
LIBRARY: library/intel-nuc-debian-python.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian-python.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-fedora-golang: | ||
name: Prepare intel-nuc-fedora-golang | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-fedora | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-fedora-golang: | ||
name: Bake intel-nuc-fedora-golang | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-fedora-golang | ||
env: | ||
LIBRARY: library/intel-nuc-fedora-golang.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-fedora-golang.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-fedora-node: | ||
name: Prepare intel-nuc-fedora-node | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-fedora | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-fedora-node: | ||
name: Bake intel-nuc-fedora-node | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-fedora-node | ||
env: | ||
LIBRARY: library/intel-nuc-fedora-node.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-fedora-node.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-fedora-python: | ||
name: Prepare intel-nuc-fedora-python | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-fedora | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-fedora-python: | ||
name: Bake intel-nuc-fedora-python | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-fedora-python | ||
env: | ||
LIBRARY: library/intel-nuc-fedora-python.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-fedora-python.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu-dotnet: | ||
name: Prepare intel-nuc-ubuntu-dotnet | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-ubuntu | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-dotnet.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-ubuntu-dotnet: | ||
name: Bake intel-nuc-ubuntu-dotnet | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu-dotnet | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-dotnet.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu-dotnet.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu-golang: | ||
name: Prepare intel-nuc-ubuntu-golang | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-ubuntu | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-ubuntu-golang: | ||
name: Bake intel-nuc-ubuntu-golang | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu-golang | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-golang.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu-golang.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu-node: | ||
name: Prepare intel-nuc-ubuntu-node | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-ubuntu | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-ubuntu-node: | ||
name: Bake intel-nuc-ubuntu-node | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu-node | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-node.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu-node.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu-python: | ||
name: Prepare intel-nuc-ubuntu-python | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-ubuntu | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-ubuntu-python: | ||
name: Bake intel-nuc-ubuntu-python | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu-python | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-python.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu-python.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu-openjdk: | ||
name: Prepare intel-nuc-ubuntu-openjdk | ||
runs-on: ubuntu-latest | ||
needs: bake-intel-nuc-ubuntu | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-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-intel-nuc-ubuntu-openjdk: | ||
name: Bake intel-nuc-ubuntu-openjdk | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu-openjdk | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu-openjdk.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu-openjdk.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-alpine: | ||
name: Prepare intel-nuc-alpine | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-alpine.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-alpine: | ||
name: Bake intel-nuc-alpine | ||
runs-on: | ||
- self-hosted | ||
- base-images | ||
- X64 | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-alpine | ||
env: | ||
LIBRARY: library/intel-nuc-alpine.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-alpine.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian: | ||
name: Prepare intel-nuc-debian | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-debian.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-debian: | ||
name: Bake intel-nuc-debian | ||
runs-on: | ||
- self-hosted | ||
- base-images | ||
- X64 | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian | ||
env: | ||
LIBRARY: library/intel-nuc-debian.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-fedora: | ||
name: Prepare intel-nuc-fedora | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-fedora.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-fedora: | ||
name: Bake intel-nuc-fedora | ||
runs-on: | ||
- self-hosted | ||
- base-images | ||
- X64 | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-fedora | ||
env: | ||
LIBRARY: library/intel-nuc-fedora.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-fedora.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu: | ||
name: Prepare intel-nuc-ubuntu | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-ubuntu: | ||
name: Bake intel-nuc-ubuntu | ||
runs-on: | ||
- self-hosted | ||
- base-images | ||
- X64 | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf | ||
if: runner.arch != 'ARM64' | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v8.0.4-33 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-alpine: | ||
name: Prepare intel-nuc-alpine | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-alpine.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-alpine: | ||
name: Bake intel-nuc-alpine | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-alpine | ||
env: | ||
LIBRARY: library/intel-nuc-alpine.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-alpine.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v6.2.0 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-debian: | ||
name: Prepare intel-nuc-debian | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-debian.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-debian: | ||
name: Bake intel-nuc-debian | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-debian | ||
env: | ||
LIBRARY: library/intel-nuc-debian.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-debian.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v6.2.0 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-fedora: | ||
name: Prepare intel-nuc-fedora | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-fedora.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-fedora: | ||
name: Bake intel-nuc-fedora | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-fedora | ||
env: | ||
LIBRARY: library/intel-nuc-fedora.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-fedora.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v6.2.0 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false | ||
prepare-intel-nuc-ubuntu: | ||
name: Prepare intel-nuc-ubuntu | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') }} | ||
outputs: | ||
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu.json | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Set matrix | ||
id: bake-targets | ||
run: | | ||
set -x | ||
targets="$(jq -cr '.group.default.targets' $LIBRARY)" | ||
echo "matrix=$targets" >> $GITHUB_OUTPUT | ||
bake-intel-nuc-ubuntu: | ||
name: Bake intel-nuc-ubuntu | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 240 | ||
needs: prepare-intel-nuc-ubuntu | ||
env: | ||
LIBRARY: library/intel-nuc-ubuntu.json | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: ${{ fromJSON(needs.prepare-intel-nuc-ubuntu.outputs.bake-targets) }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | ||
with: | ||
fetch-depth: 1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | ||
with: | ||
platforms: all | ||
image: tonistiigi/binfmt:qemu-v6.2.0 | ||
- name: Setup buildx | ||
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb | ||
with: | ||
driver-opts: network=host | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 | ||
if: inputs.no-push != true | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.BALENAIMAGES_USER }} | ||
password: ${{ secrets.BALENAIMAGES_TOKEN }} | ||
- name: Docker bake | ||
continue-on-error: false | ||
id: docker_bake | ||
uses: docker/bake-action@7a5dfed3550ca014665af2a27af8fc9d7284b9b3 | ||
with: | ||
workdir: balena-base-images | ||
files: ${{ github.workspace }}/${{ env.LIBRARY }} | ||
targets: ${{ matrix.target }} | ||
push: ${{ inputs.no-push != true }} | ||
provenance: false |