Skip to content

Commit cdfa509

Browse files
committed
remove cache from and cache to directives from docker based actions, per blacksmith docs
1 parent 7d8c14e commit cdfa509

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ jobs:
107107
tags: ${{ steps.meta.outputs.tags }}
108108
provenance: false
109109
sbom: false
110-
cache-from: ${{ github.ref == 'refs/heads/main' && format('type=registry,ref={0}:latest-amd64', matrix.ghcr_image) || '' }}
111-
cache-to: type=inline
112110

113111
# Build ARM64 images for GHCR (main branch only, runs in parallel)
114112
build-ghcr-arm64:
@@ -160,10 +158,6 @@ jobs:
160158
tags: ${{ steps.meta.outputs.tags }}
161159
provenance: false
162160
sbom: false
163-
cache-from: |
164-
type=registry,ref=${{ matrix.image }}:latest-arm64
165-
type=registry,ref=${{ matrix.image }}:${{ github.sha }}-arm64
166-
cache-to: type=inline
167161

168162
# Create GHCR multi-arch manifests (only for main, after both builds)
169163
create-ghcr-manifests:

.github/workflows/images.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ jobs:
9797
tags: ${{ steps.meta.outputs.tags }}
9898
provenance: false
9999
sbom: false
100-
cache-from: ${{ github.ref == 'refs/heads/main' && format('type=registry,ref={0}:latest-amd64', matrix.ghcr_image) || '' }}
101-
cache-to: type=inline
102100

103101
build-ghcr-arm64:
104102
name: Build ARM64 (GHCR Only)
@@ -145,10 +143,6 @@ jobs:
145143
tags: ${{ steps.meta.outputs.tags }}
146144
provenance: false
147145
sbom: false
148-
cache-from: |
149-
type=registry,ref=${{ matrix.image }}:latest-arm64
150-
type=registry,ref=${{ matrix.image }}:${{ github.sha }}-arm64
151-
cache-to: type=inline
152146

153147
create-ghcr-manifests:
154148
name: Create GHCR Manifests

0 commit comments

Comments
 (0)