Fix REGISTRY environment variable for Gitea

This commit is contained in:
2025-11-20 11:58:41 -08:00
committed by GitHub
parent 3169ee7ae1
commit 610236fa67

View File

@@ -13,7 +13,7 @@ on:
env: env:
# This works for both GitHub and Gitea # This works for both GitHub and Gitea
REGISTRY: ${{ github.server_url == 'https://github.com' && 'ghcr.io' || github.server_url }} REGISTRY: ${{ github.server_url == 'https://github.com' && 'ghcr.io' || replace(github.server_url, 'https://', '') }}
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.repository }}
jobs: jobs: