Skip to content

Merge pull request #1752 from ecordell/phase-spanner-change #382

Merge pull request #1752 from ecordell/phase-spanner-change

Merge pull request #1752 from ecordell/phase-spanner-change #382

Workflow file for this run

---
name: "Devel (nightly) Release"
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
permissions:
contents: "write"
packages: "write"
env:
GO_VERSION: "~1.21.3"
jobs:
goreleaser:
runs-on: "buildjet-4vcpu-ubuntu-2204"
steps:
- uses: "actions/checkout@v3"
with:
fetch-depth: 0
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
- 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 }}"