Skip to content

bump builder image for the Knots versions where it can be done #29

bump builder image for the Knots versions where it can be done

bump builder image for the Knots versions where it can be done #29

Workflow file for this run

name: Build Bitcoin Knots images
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Build v${{ matrix.knots-version }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
versions:
- { 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" }
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.versions.knots }}
ALPINE_BUILDER_VERSION=${{ matrix.alpine-builder }}
cache-from: type=registry,ref=1maa/bitcoin:v${{ matrix.knots-version }}
cache-to: type=inline
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
push: true
tags: 1maa/bitcoin:v${{ matrix.knots-version }}