Skip to content

Commit 712432b

Browse files
committed
Fix docker build
1 parent e4f4bf0 commit 712432b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
env:
99
REGISTRY: ghcr.io
1010
IMAGE_NAME: ${{ github.repository }}
11-
CACHE_IMAGE_NAME: ${{ github.repository_owner }}/${{ github.event.repository.name }}
1211

1312
jobs:
1413
build-and-push:
@@ -52,11 +51,7 @@ jobs:
5251
platforms: linux/amd64,linux/arm64
5352
tags: ${{ steps.meta.outputs.tags }}
5453
labels: ${{ steps.meta.outputs.labels }}
55-
cache-from: |
56-
type=gha,scope=${{ github.workflow }}
57-
type=registry,ref=${{ env.REGISTRY }}/${{ format(lower(env.CACHE_IMAGE_NAME)) }}:buildcache
58-
cache-to: |
59-
type=gha,scope=${{ github.workflow }},mode=max
60-
type=registry,ref=${{ env.REGISTRY }}/${{ format(lower(env.CACHE_IMAGE_NAME)) }}:buildcache,mode=max
54+
cache-from: type=gha
55+
cache-to: type=gha,mode=max
6156
provenance: mode=max
62-
sbom: true
57+
sbom: true

0 commit comments

Comments
 (0)