Skip to content

update checkout action #12

update checkout action

update checkout action #12

Workflow file for this run

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