This commit is contained in:
parent
937e5b814b
commit
e38c99acd6
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
|
|
@ -31,9 +31,19 @@ jobs:
|
|||
with:
|
||||
install-only: true
|
||||
|
||||
- name: Sanitize Docker credentials
|
||||
run: |
|
||||
REGISTRY="${{ forgejo.server_url }}"
|
||||
echo "registry=${REGISTRY#https://}" >> "$GITHUB_OUTPUT"
|
||||
ORG="${{ forgejo.repository_owner }}"
|
||||
echo "org=$(echo "$ORG" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
|
||||
id: sanitize_credentials
|
||||
|
||||
- name: GoReleaser Check
|
||||
run: |
|
||||
unset GITHUB_TOKEN
|
||||
goreleaser release --snapshot --skip=publish --clean
|
||||
env:
|
||||
GORELEASER_CURRENT_TAG: v0.0.0
|
||||
DOCKER_REGISTRY: ${{ steps.sanitize_credentials.outputs.registry }}
|
||||
DOCKER_ORG: ${{ steps.sanitize_credentials.outputs.org }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue