Skip to content

fix: remove codeHostings when deleting publishers (#250) #29

fix: remove codeHostings when deleting publishers (#250)

fix: remove codeHostings when deleting publishers (#250) #29

Workflow file for this run

on:
push:
tags:
- v*
permissions:
# To upload archives as GitHub Releases
contents: write
# To push Docker images to GitHub
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
uses: actions/setup-go@v5
with:
go-version: 1.18.x
-
uses: actions/checkout@v4
with:
# All history, required for goreleaser
fetch-depth: 0
-
# For TagBody, TagSubject or TagContents fields in goreleaser's templates
run: git fetch --force --tags
-
# FIXME: goreleaser should already take care of the login
# (see https://github.com/goreleaser/goreleaser/blame/02a3486d4ba59505113a57b438ae567351ed3dab/scripts/entrypoint.sh#L17)
# but it doesn't work for some reason.
run: echo "$GITHUB_TOKEN" | docker login ghcr.io -u docker --password-stdin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
uses: goreleaser/goreleaser-action@v6
with:
version: v1.9.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}