mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-05 00:54:52 +01:00
Docker のビルドキャッシュに type=registry を使用する (MisskeyIO#211)
タグでビルドしているため、Actions のキャッシュが効かない
This commit is contained in:
parent
15249e6242
commit
48042557c2
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-io.yml
vendored
4
.github/workflows/docker-io.yml
vendored
|
@ -43,8 +43,8 @@ jobs:
|
|||
platforms: ${{ steps.buildx.outputs.platforms }}
|
||||
provenance: false
|
||||
labels: ${{ env.FORMATTED_BRANCH_NAME }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache
|
||||
cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache,mode=max
|
||||
tags: |
|
||||
ghcr.io/misskeyio/misskey:latest
|
||||
ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }}
|
||||
|
|
Loading…
Reference in a new issue