Skip to content

debug

debug #21

Workflow file for this run

name: release
on:
push:
# tags:
# - "*"
permissions:
contents: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- run: |
gpg -K
gpg2 -K
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
GPG_KEYID: ${{ steps.import_gpg.outputs.keyid }}