Skip to content

Build protoc

Build protoc #123

Workflow file for this run

# yamllint disable rule:line-length
---
name: Build protoc
run-name: Build protoc
# yamllint disable-line rule:truthy
on: push
jobs:
protoc:
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
strategy:
matrix:
image:
- protoc
- protoc-cpp
- protoc-go
- protoc-java
- protoc-node
- protoc-swift
- protoc-web
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: linux/amd64,linux/arm64
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: ./publish.sh
env:
RELEASE_TAG: ${{ github.ref_name == github.event.repository.default_branch }}
IMAGE: ${{ matrix.image }}