mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: docker build cache sharing
This commit is contained in:
@@ -48,5 +48,5 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
cache-from: type=gha,scope=${{ github.workflow }}
|
||||
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
|
||||
cache-from: type=gha,scope=docker-release
|
||||
cache-to: type=gha,mode=max,scope=docker-release
|
||||
|
||||
@@ -38,8 +38,10 @@ jobs:
|
||||
load: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha,scope=${{ github.workflow }}
|
||||
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
|
||||
cache-from: |
|
||||
type=gha,scope=docker-test
|
||||
type=gha,scope=docker-release
|
||||
cache-to: type=gha,mode=max,scope=docker-test
|
||||
|
||||
- name: Run dockerfile
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user