mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 10:54:01 +02:00
disable caching in build and metadata relay workflows (#309)
this pr disables caching in build and metadata relay workflows because it doesn't actually make the workflows any faster.
This commit is contained in:
committed by
GitHub
parent
b87a23b5b4
commit
c7c6158a3f
@@ -6,11 +6,11 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'metadata_relay/**'
|
||||
- '.github/workflows/metadata_relay.yaml'
|
||||
- '.github/workflows/build-push-metadata_relay.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'metadata_relay/**'
|
||||
- '.github/workflows/metadata_relay.yaml'
|
||||
- '.github/workflows/build-push-metadata_relay.yml'
|
||||
release:
|
||||
types: [ published ]
|
||||
workflow_dispatch:
|
||||
@@ -91,9 +91,6 @@ jobs:
|
||||
platforms: ${{ matrix.platform }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: type=image,name=ghcr.io/${{ github.repository_owner }}/${{ steps.repo_name.outputs.name }}/metadata_relay,push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ steps.repo_name.outputs.name }}/mediamanager:buildcache-${{ steps.platform_slug.outputs.slug }}
|
||||
cache-to: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && format('type=registry,ref=ghcr.io/{0}/{1}/mediamanager:buildcache-{2},mode=max', github.repository_owner, steps.repo_name.outputs.name, steps.platform_slug.outputs.slug) || '' }}
|
||||
no-cache: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
|
||||
build-args: |
|
||||
VERSION=${{ steps.version.outputs.version }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user