Skip to content

chore(release): v0.8.1 #3

chore(release): v0.8.1

chore(release): v0.8.1 #3

Workflow file for this run

---
name: Build docker images
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: quay.io/tarilabs/sha-p2pool
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup docker context for buildx
id: buildx-context
run: docker context create builders
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: builders
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64 #, linux/arm64