Skip to content

Commit e6243fa

Browse files
committed
remove gh action caching on image build for security hardening
Signed-off-by: PatStLouis <[email protected]>
1 parent 5a7623b commit e6243fa

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ jobs:
4747
run: |
4848
echo "repo-owner=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_OUTPUT
4949
50-
- name: Cache Docker layers
51-
uses: actions/cache@v4
52-
with:
53-
path: /tmp/.buildx-cache
54-
key: ${{ runner.os }}-buildx-${{ github.sha }}
55-
restore-keys: |
56-
${{ runner.os }}-buildx-
57-
5850
- name: Set up Docker Buildx
5951
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 #v3.11.1
6052

@@ -84,11 +76,3 @@ jobs:
8476
cache-from: type=local,src=/tmp/.buildx-cache
8577
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
8678
platforms: ${{ env.PLATFORMS }}
87-
88-
# Temp fix
89-
# https://github.com/docker/build-push-action/issues/252
90-
# https://github.com/moby/buildkit/issues/1896
91-
- name: Move cache
92-
run: |
93-
rm -rf /tmp/.buildx-cache
94-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 commit comments

Comments
 (0)