mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 18:36:22 +02:00
add gha cache.
This commit is contained in:
parent
dfc2e5505c
commit
40db8f6602
4 changed files with 6 additions and 2 deletions
2
.github/workflows/ghcr_intel.yml
vendored
2
.github/workflows/ghcr_intel.yml
vendored
|
@ -41,6 +41,6 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.name }}
|
||||
flavor: intel
|
||||
platforms: linux/amd64
|
||||
platforms: ${{ matrix.platforms }}
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
secrets: inherit
|
||||
|
|
2
.github/workflows/ghcr_nvidia.yml
vendored
2
.github/workflows/ghcr_nvidia.yml
vendored
|
@ -37,6 +37,6 @@ jobs:
|
|||
with:
|
||||
name: ${{ matrix.name }}
|
||||
flavor: nvidia
|
||||
platforms: linux/amd64
|
||||
platforms: ${{ matrix.platforms }}
|
||||
dockerfile: ${{ matrix.dockerfile }}
|
||||
secrets: inherit
|
||||
|
|
2
.github/workflows/image_app.yml
vendored
2
.github/workflows/image_app.yml
vendored
|
@ -71,3 +71,5 @@ jobs:
|
|||
build-args: |
|
||||
BASE_IMAGE=ghcr.io/${{ github.repository }}/${{ env.FLAVOR_PREFIX }}base:sha-${{ github.sha }}
|
||||
platforms: ${{ inputs.platforms || 'linux/amd64' }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
2
.github/workflows/image_base.yml
vendored
2
.github/workflows/image_base.yml
vendored
|
@ -80,3 +80,5 @@ jobs:
|
|||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: ${{ inputs.platforms || 'linux/amd64' }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
Loading…
Add table
Reference in a new issue