This commit is contained in:
parent
937e5b814b
commit
5f8a275c72
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
|
@ -31,9 +31,17 @@ jobs:
|
|||
with:
|
||||
install-only: true
|
||||
|
||||
- name: Sanitize Docker registry URL
|
||||
run: |
|
||||
REGISTRY="${{ forgejo.server_url }}"
|
||||
echo "registry=${REGISTRY#https://}" >> "$GITHUB_OUTPUTS"
|
||||
id: sanitize_registry
|
||||
|
||||
- name: GoReleaser Check
|
||||
run: |
|
||||
unset GITHUB_TOKEN
|
||||
goreleaser release --snapshot --skip=publish --clean
|
||||
env:
|
||||
GORELEASER_CURRENT_TAG: v0.0.0
|
||||
DOCKER_REGISTRY: ${{ steps.sanitize_registry.outputs.registry }}
|
||||
DOCKER_ORG: ${{ forgejo.repository_owner }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue