forked from sstent/minihass
Update .github/workflows/container-build.yml
This commit is contained in:
4
.github/workflows/container-build.yml
vendored
4
.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' || 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
|
||||
Reference in New Issue
Block a user