Skip to content

build(deps): bump docker/setup-qemu-action from 2 to 3 #188

build(deps): bump docker/setup-qemu-action from 2 to 3

build(deps): bump docker/setup-qemu-action from 2 to 3 #188

Workflow file for this run

name: ci
on:
push:
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
buildx:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
id: buildx
with:
config: .github/buildkitd.toml
uses: docker/setup-buildx-action@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
-
name: Build
uses: docker/build-push-action@v4
with:
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ github.ref == 'refs/heads/main' && 'linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6' || 'linux/arm64' }}
push: true