Skip to content

Commit

Permalink
ci: remove docker build cache
Browse files Browse the repository at this point in the history
- The cache settings in the Docker publishing workflow have been removed. This includes the removal of settings using `cache-from` and `cache-to` directive related to registry type cache. This change has been reflected in all docker jobs.

Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed May 18, 2024
1 parent 18ffd70 commit 9b33c12
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ jobs:
VERSION=${{ github.head_ref || github.ref_name }}
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache,mode=max
sbom: true
provenance: true

Expand Down Expand Up @@ -105,9 +102,6 @@ jobs:
VERSION=${{ github.head_ref || github.ref_name }}
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache,mode=max
sbom: true
provenance: true

Expand Down Expand Up @@ -152,8 +146,5 @@ jobs:
VERSION=${{ github.head_ref || github.ref_name }}
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/fc2-live-dl:cache,mode=max
sbom: true
provenance: true

0 comments on commit 9b33c12

Please sign in to comment.