mirror of
https://github.com/etiennecollin/unifi-voucher-manager.git
synced 2025-10-23 00:02:10 +00:00
feat: added image build cache to workflow
This commit is contained in:
6
.github/workflows/release_docker.yaml
vendored
6
.github/workflows/release_docker.yaml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
${{ vars.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
|
||||
ghcr.io/${{ vars.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
|
||||
ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
@@ -74,3 +74,7 @@ jobs:
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
provenance: true
|
||||
sbom: true
|
||||
cache-from: |
|
||||
type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache
|
||||
cache-to: |
|
||||
type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache,mode=max
|
||||
|
Reference in New Issue
Block a user