Skip to content

fit the manifest description into the registry limit #5

fit the manifest description into the registry limit

fit the manifest description into the registry limit #5

Workflow file for this run

name: Release
on:
push:
tags: ["v*"]
permissions:
contents: write
packages: write
jobs:
release:
# Never run from forks or mirrors: their tags must not exercise release
# machinery, and nothing here may depend on another repository's state.
if: github.repository == 'GaijinEntertainment/go-gerrit-mcp'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
# Release builds are hermetic: the Actions cache is writable from
# any PR branch, so restoring it here would let a poisoned cache
# entry reach the publishing build.
cache: false
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v7
with:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}