Skip to content

Bake spacely-tx2

Bake spacely-tx2 #13

name: Bake spacely-tx2
'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-spacely-tx2-alpine:
name: Prepare spacely-tx2-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/spacely-tx2-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-spacely-tx2-alpine:
name: Bake spacely-tx2-alpine
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-alpine
env:
LIBRARY: library/spacely-tx2-alpine.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-debian:
name: Prepare spacely-tx2-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/spacely-tx2-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-spacely-tx2-debian:
name: Bake spacely-tx2-debian
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-debian
env:
LIBRARY: library/spacely-tx2-debian.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-fedora:
name: Prepare spacely-tx2-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/spacely-tx2-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-spacely-tx2-fedora:
name: Bake spacely-tx2-fedora
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-fedora
env:
LIBRARY: library/spacely-tx2-fedora.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-ubuntu:
name: Prepare spacely-tx2-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/spacely-tx2-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-spacely-tx2-ubuntu:
name: Bake spacely-tx2-ubuntu
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-ubuntu
env:
LIBRARY: library/spacely-tx2-ubuntu.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-alpine-golang:
name: Prepare spacely-tx2-alpine-golang
runs-on: ubuntu-latest
needs: bake-spacely-tx2-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-alpine-golang:
name: Bake spacely-tx2-alpine-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-alpine-golang
env:
LIBRARY: library/spacely-tx2-alpine-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-alpine-node:
name: Prepare spacely-tx2-alpine-node
runs-on: ubuntu-latest
needs: bake-spacely-tx2-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-alpine-node:
name: Bake spacely-tx2-alpine-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-alpine-node
env:
LIBRARY: library/spacely-tx2-alpine-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-alpine-python:
name: Prepare spacely-tx2-alpine-python
runs-on: ubuntu-latest
needs: bake-spacely-tx2-alpine
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-alpine-python:
name: Bake spacely-tx2-alpine-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-alpine-python
env:
LIBRARY: library/spacely-tx2-alpine-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-debian-golang:
name: Prepare spacely-tx2-debian-golang
runs-on: ubuntu-latest
needs: bake-spacely-tx2-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-debian-golang:
name: Bake spacely-tx2-debian-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-debian-golang
env:
LIBRARY: library/spacely-tx2-debian-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-debian-node:
name: Prepare spacely-tx2-debian-node
runs-on: ubuntu-latest
needs: bake-spacely-tx2-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-debian-node:
name: Bake spacely-tx2-debian-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-debian-node
env:
LIBRARY: library/spacely-tx2-debian-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-debian-openjdk:
name: Prepare spacely-tx2-debian-openjdk
runs-on: ubuntu-latest
needs: bake-spacely-tx2-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-debian-openjdk:
name: Bake spacely-tx2-debian-openjdk
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-debian-openjdk
env:
LIBRARY: library/spacely-tx2-debian-openjdk.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-debian-python:
name: Prepare spacely-tx2-debian-python
runs-on: ubuntu-latest
needs: bake-spacely-tx2-debian
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-debian-python:
name: Bake spacely-tx2-debian-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-debian-python
env:
LIBRARY: library/spacely-tx2-debian-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-fedora-golang:
name: Prepare spacely-tx2-fedora-golang
runs-on: ubuntu-latest
needs: bake-spacely-tx2-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-fedora-golang:
name: Bake spacely-tx2-fedora-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-fedora-golang
env:
LIBRARY: library/spacely-tx2-fedora-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-fedora-node:
name: Prepare spacely-tx2-fedora-node
runs-on: ubuntu-latest
needs: bake-spacely-tx2-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-fedora-node:
name: Bake spacely-tx2-fedora-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-fedora-node
env:
LIBRARY: library/spacely-tx2-fedora-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-fedora-python:
name: Prepare spacely-tx2-fedora-python
runs-on: ubuntu-latest
needs: bake-spacely-tx2-fedora
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-fedora-python:
name: Bake spacely-tx2-fedora-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-fedora-python
env:
LIBRARY: library/spacely-tx2-fedora-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-ubuntu-golang:
name: Prepare spacely-tx2-ubuntu-golang
runs-on: ubuntu-latest
needs: bake-spacely-tx2-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-ubuntu-golang:
name: Bake spacely-tx2-ubuntu-golang
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-ubuntu-golang
env:
LIBRARY: library/spacely-tx2-ubuntu-golang.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-ubuntu-node:
name: Prepare spacely-tx2-ubuntu-node
runs-on: ubuntu-latest
needs: bake-spacely-tx2-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-ubuntu-node:
name: Bake spacely-tx2-ubuntu-node
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-ubuntu-node
env:
LIBRARY: library/spacely-tx2-ubuntu-node.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-ubuntu-python:
name: Prepare spacely-tx2-ubuntu-python
runs-on: ubuntu-latest
needs: bake-spacely-tx2-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-ubuntu-python:
name: Bake spacely-tx2-ubuntu-python
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-ubuntu-python
env:
LIBRARY: library/spacely-tx2-ubuntu-python.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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-spacely-tx2-ubuntu-openjdk:
name: Prepare spacely-tx2-ubuntu-openjdk
runs-on: ubuntu-latest
needs: bake-spacely-tx2-ubuntu
outputs:
bake-targets: ${{ steps.bake-targets.outputs.matrix }}
env:
LIBRARY: library/spacely-tx2-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-spacely-tx2-ubuntu-openjdk:
name: Bake spacely-tx2-ubuntu-openjdk
runs-on:
- self-hosted
- base-images
- ARM64
timeout-minutes: 240
needs: prepare-spacely-tx2-ubuntu-openjdk
env:
LIBRARY: library/spacely-tx2-ubuntu-openjdk.json
strategy:
fail-fast: false
matrix:
target: ${{ fromJSON(needs.prepare-spacely-tx2-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: Set the DATESTAMP variable
run: echo "DATESTAMP=$(date +%Y%m%d)" >> "${GITHUB_ENV}"
- 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