diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b28407c..7723349 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -212,7 +212,9 @@ jobs: - name: Publish release bundles, checksums, evidence, and SBOM to Gitea if: startsWith(gitea.ref, 'refs/tags/v') env: - GITEA_SERVER_URL: ${{ gitea.server_url }} + # gitea.server_url inside the job container is the internal http://gitea:3000 origin; + # the publisher only forwards its token to the public HTTPS origin. + GITEA_SERVER_URL: https://git.itexp.me GITEA_REPOSITORY: ${{ gitea.repository }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} RELEASE_TAG: ${{ gitea.ref_name }}