Skip to content

build riscv64 and s390x #38

build riscv64 and s390x

build riscv64 and s390x #38

Workflow file for this run

name: Build Bitcoin Knots images
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Build v${{ matrix.version.knots }} for ${{ matrix.architecture }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
architecture:
- linux/amd64
- linux/arm/v7
- linux/arm64
- linux/ppc64le
- linux/riscv64
- linux/s390x
version:
- { knots: "27.1.knots20240621", alpine-builder: "3.20" }
- { knots: "26.1.knots20240513", alpine-builder: "3.20" }
- { knots: "26.1.knots20240325", alpine-builder: "3.18" }
- { knots: "25.1.knots20231115", alpine-builder: "3.18" }
exclude:
- version.alpine-builder: 3.18

Check failure on line 29 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build Bitcoin Knots images

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 29, Col: 13): Matrix exclude key 'version.alpine-builder' does not match any key within the matrix
architecture: linux/riscv64
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: 1maa
password: ${{ secrets.DOCKER_HUB_PASS }}
- uses: docker/build-push-action@v5
with:
build-args: |
KNOTS_VERSION=${{ matrix.version.knots }}
ALPINE_BUILDER_VERSION=${{ matrix.version.alpine-builder }}
cache-from: type=registry,ref=1maa/bitcoin:v${{ matrix.version.knots }}
cache-to: type=inline
context: .
platforms: ${{ matrix.architecture }}
push: true
tags: 1maa/bitcoin:v${{ matrix.version.knots }}