Merge pull request #1803 from authzed/lazy-and-optional-grpc-prom-reg… #425
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Devel (nightly) Release" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "main" | |
permissions: | |
contents: "write" | |
packages: "write" | |
jobs: | |
goreleaser: | |
runs-on: "buildjet-4vcpu-ubuntu-2204" | |
steps: | |
- uses: "actions/checkout@v3" | |
with: | |
fetch-depth: 0 | |
- uses: "authzed/actions/setup-go@main" | |
- uses: "authzed/actions/docker-login@main" | |
with: | |
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}" | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
dockerhub_token: "${{ secrets.DOCKERHUB_ACCESS_TOKEN }}" | |
- uses: "docker/setup-qemu-action@v1" | |
- uses: "docker/setup-buildx-action@v1" | |
- uses: "goreleaser/goreleaser-action@v4" | |
with: | |
distribution: "goreleaser-pro" | |
version: "latest" | |
args: "release -f nightly.goreleaser.yml --clean --nightly" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}" |