mirror of
https://github.com/sstent/minihass.git
synced 2025-12-06 03:21:36 +00:00
Fix REGISTRY environment variable for Gitea
This commit is contained in:
2
.github/workflows/container-build.yml
vendored
2
.github/workflows/container-build.yml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
|
||||
env:
|
||||
# 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 }}
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user