Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Bump docker/setup-qemu-action from 2 to 3 #85

Bump docker/setup-qemu-action from 2 to 3

Bump docker/setup-qemu-action from 2 to 3 #85

Workflow file for this run

name: Build and publish to ghcr.io
on:
pull_request:
branches:
- main
- 'release/*'
push:
branches:
- main
- 'release/*'
tags:
- '*'
jobs:
build:
name: Clone, Build and Publish
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/ledgerhq/bitcoin-lib-grpc
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.CI_BOT_USERNAME }}
password: ${{ secrets.CI_BOT_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: ${{ github.event_name == 'push' }}