Update .github/workflows/container-build.yml

This commit is contained in:
2025-11-20 19:24:09 +00:00
parent 0f5c7f51db
commit 912f557477

View File

@@ -13,7 +13,7 @@ on:
env:
# This works for both GitHub and Gitea
REGISTRY: ${{ github.server_url == 'https://github.com' && 'ghcr.io' || format('{0}/v2', github.server_url) }}
REGISTRY: ${{ github.server_url == 'https://github.com' && 'ghcr.io' || github.server_url }}
IMAGE_NAME: ${{ github.repository }}
jobs:
@@ -50,4 +50,4 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max