ci: add docker build to release
Some checks failed
ci / build (push) Failing after 23s
ci / goreleaser (push) Failing after 19s

This commit is contained in:
Martin McCaffery 2026-02-12 11:15:30 +01:00
parent d713c25fa5
commit 6d04bedf72
Signed by: martin.mccaffery
GPG key ID: 7C4D0F375BCEE533
4 changed files with 27 additions and 3 deletions

View file

@ -30,6 +30,12 @@ jobs:
with:
install-only: true
- name: Docker login
run: |
REGISTRY="${GITHUB_SERVER_URL#https://}"
echo "${{ secrets.PACKAGES_TOKEN }}" | docker login "$REGISTRY" -u "${{ github.repository_owner }}" --password-stdin
echo "DOCKER_REGISTRY=$REGISTRY" >> "$GITHUB_ENV"
- name: Run GoReleaser
run: |
unset GITHUB_TOKEN
@ -37,3 +43,4 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
DOCKER_ORG: ${{ github.repository_owner }}