Skip to content

Commit

Permalink
ci: remove caching from Docker publish workflows
Browse files Browse the repository at this point in the history
- Removed caching from registry in the `docker_publish.yml` GitHub workflow.
- Also removed caching from registry in the `docker_publish_latest.yml` GitHub workflow.

Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed May 5, 2024
1 parent e4c9e5c commit 2f410ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,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 }}/yt-dlp:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/yt-dlp:cache,mode=max
sbom: true
provenance: true

Expand Down Expand Up @@ -81,9 +78,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 }}/yt-dlp:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/yt-dlp:cache,mode=max
sbom: true
provenance: true

Expand Down Expand Up @@ -118,8 +112,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 }}/yt-dlp:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/yt-dlp:cache,mode=max
sbom: true
provenance: true
3 changes: 0 additions & 3 deletions .github/workflows/docker_publish_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,5 @@ jobs:
VERSION=latest
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 }}/yt-dlp:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/yt-dlp:cache,mode=max
sbom: true
provenance: true

0 comments on commit 2f410ed

Please sign in to comment.