cert-manager-webhook-dnsimple/.forgejo/workflows/release.yaml
Joseph Hanson 66cf879a0b
Some checks failed
goreleaser / goreleaser (push) Failing after 2m2s
whole repo
2024-08-01 13:05:33 -05:00

36 lines
No EOL
868 B
YAML

name: goreleaser
on:
pull_request:
push:
# run only against tags
tags:
- "*"
permissions:
contents: write
# packages: write
# issues: write
jobs:
goreleaser:
runs-on: docker
container:
image: ghcr.io/goreleaser/goreleaser:v2.1.0
steps:
- name: Checkout
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_URL: https://x-access-token:${GITHUB_TOKEN}@git.hsn.dev/${{ github.repository }}
run: |
mkdir -p ${{ github.workspace }}
echo "URL: ${{ env.REPO_URL }}"
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
echo "Repository cloned!"
- name: Run goreleaser
env:
GITHUB_TOKEN: ""
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
echo ${{ github.workspace }}
goreleaser release