Bake armv7hf #3
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 armv7hf | |
'on': | |
workflow_run: | |
workflows: | |
- Bake all | |
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-armv7hf-alpine: | |
name: Prepare armv7hf-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/armv7hf-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-armv7hf-alpine: | |
name: Bake armv7hf-alpine | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-alpine | |
env: | |
LIBRARY: library/armv7hf-alpine.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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-armv7hf-debian: | |
name: Prepare armv7hf-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/armv7hf-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-armv7hf-debian: | |
name: Bake armv7hf-debian | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-debian | |
env: | |
LIBRARY: library/armv7hf-debian.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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-armv7hf-ubuntu: | |
name: Prepare armv7hf-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/armv7hf-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-armv7hf-ubuntu: | |
name: Bake armv7hf-ubuntu | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-ubuntu | |
env: | |
LIBRARY: library/armv7hf-ubuntu.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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 | |
prepare-armv7hf-alpine-golang: | |
name: Prepare armv7hf-alpine-golang | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-alpine-golang: | |
name: Bake armv7hf-alpine-golang | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-alpine-golang | |
env: | |
LIBRARY: library/armv7hf-alpine-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-alpine-node: | |
name: Prepare armv7hf-alpine-node | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-alpine-node: | |
name: Bake armv7hf-alpine-node | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-alpine-node | |
env: | |
LIBRARY: library/armv7hf-alpine-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-alpine-python: | |
name: Prepare armv7hf-alpine-python | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-alpine | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-alpine-python: | |
name: Bake armv7hf-alpine-python | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-alpine-python | |
env: | |
LIBRARY: library/armv7hf-alpine-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-debian-golang: | |
name: Prepare armv7hf-debian-golang | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-debian-golang: | |
name: Bake armv7hf-debian-golang | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-debian-golang | |
env: | |
LIBRARY: library/armv7hf-debian-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-debian-node: | |
name: Prepare armv7hf-debian-node | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-debian-node: | |
name: Bake armv7hf-debian-node | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-debian-node | |
env: | |
LIBRARY: library/armv7hf-debian-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-debian-openjdk: | |
name: Prepare armv7hf-debian-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-debian-openjdk: | |
name: Bake armv7hf-debian-openjdk | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-debian-openjdk | |
env: | |
LIBRARY: library/armv7hf-debian-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-debian-python: | |
name: Prepare armv7hf-debian-python | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-debian | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-debian-python: | |
name: Bake armv7hf-debian-python | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-debian-python | |
env: | |
LIBRARY: library/armv7hf-debian-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-ubuntu-golang: | |
name: Prepare armv7hf-ubuntu-golang | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-ubuntu-golang: | |
name: Bake armv7hf-ubuntu-golang | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-ubuntu-golang | |
env: | |
LIBRARY: library/armv7hf-ubuntu-golang.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-ubuntu-node: | |
name: Prepare armv7hf-ubuntu-node | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-ubuntu-node: | |
name: Bake armv7hf-ubuntu-node | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-ubuntu-node | |
env: | |
LIBRARY: library/armv7hf-ubuntu-node.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-ubuntu-python: | |
name: Prepare armv7hf-ubuntu-python | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-ubuntu-python: | |
name: Bake armv7hf-ubuntu-python | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-ubuntu-python | |
env: | |
LIBRARY: library/armv7hf-ubuntu-python.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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-armv7hf-ubuntu-openjdk: | |
name: Prepare armv7hf-ubuntu-openjdk | |
runs-on: ubuntu-latest | |
needs: bake-armv7hf-ubuntu | |
outputs: | |
bake-targets: ${{ steps.bake-targets.outputs.matrix }} | |
env: | |
LIBRARY: library/armv7hf-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-armv7hf-ubuntu-openjdk: | |
name: Bake armv7hf-ubuntu-openjdk | |
runs-on: ubuntu-latest | |
timeout-minutes: 240 | |
needs: prepare-armv7hf-ubuntu-openjdk | |
env: | |
LIBRARY: library/armv7hf-ubuntu-openjdk.json | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ${{ fromJSON(needs.prepare-armv7hf-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@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 |