Merge pull request #2151 from authzed/dependabot/docker/docker-79556c… #638
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@v4" | |
with: | |
fetch-depth: 0 | |
- uses: "authzed/actions/setup-go@main" | |
- name: "Install snapcraft" | |
run: | | |
sudo snap install snapcraft --channel=8.x/stable --classic | |
mkdir -p $HOME/.cache/snapcraft/download | |
mkdir -p $HOME/.cache/snapcraft/stage-packages | |
- 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@v3" | |
- uses: "docker/setup-buildx-action@v3" | |
- uses: "goreleaser/goreleaser-action@v6" | |
with: | |
distribution: "goreleaser-pro" | |
# Pinned because of a regression in 2.3.0 | |
version: "2.2.0" | |
args: "release -f .goreleaser.nightly.yml --clean --nightly" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}" |