Skip to content

Commit 239fe97

Browse files
authored
ci: disable docker image cache (#943)
* ci: disable docker image cache The Docker image cache was invaluable when the ARM build was still emulated. Now that all builds are run on native hardware the build time has reduced significantly. As such the cache is doing more harm than it is useful. Leading to invalid Dockerfiles ending up on the default branch. * chore: remove libc6-dev
1 parent 55cc8f6 commit 239fe97

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

.github/workflows/release-build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
id-token: write
3131
packages: write
3232
pull-requests: write
33-
with:
34-
# Disable the cache for release builds
35-
enable-cache: false
3633
apply-release-notes-template:
3734
runs-on: ubuntu-latest
3835
permissions:

.github/workflows/wc-build-push-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Build, Push & Test
33

44
on:
55
workflow_call:
6-
inputs:
7-
enable-cache:
8-
required: false
9-
type: boolean
10-
default: true
116
secrets:
127
TEST_GITHUB_TOKEN:
138
required: true
@@ -36,7 +31,6 @@ jobs:
3631
pull-requests: write
3732
with:
3833
flavor: ${{ matrix.flavor }}
39-
enable-cache: ${{ inputs.enable-cache }}
4034

4135
dependency-review:
4236
runs-on: ubuntu-latest

.github/workflows/wc-build-push.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
flavor:
88
required: true
99
type: string
10-
enable-cache:
11-
required: false
12-
type: boolean
13-
default: true
1410

1511
permissions:
1612
contents: read
@@ -69,8 +65,6 @@ jobs:
6965
annotations: ${{ steps.metadata.outputs.annotations }}
7066
sbom: true
7167
outputs: type=image,push-by-digest=true,name-canonical=true
72-
cache-to: ${{ inputs.enable-cache && format('type=gha,mode=max,scope={0}-{1}-{2}', github.repository, inputs.flavor, matrix.runner) || '' }}
73-
cache-from: ${{ inputs.enable-cache && format('type=gha,scope={0}-{1}-{2}', github.repository, inputs.flavor, matrix.runner) || '' }}
7468
- name: Export digest
7569
run: |
7670
set -Eeuo pipefail

0 commit comments

Comments
 (0)