mirror of https://github.com/Mai-with-u/MaiBot.git
feat: 在Docker镜像构建流程中添加标签支持,以便于版本管理
parent
835efd5daa
commit
de1c36f8e8
|
|
@ -91,6 +91,7 @@ jobs:
|
|||
file: ./Dockerfile
|
||||
platforms: ${{ matrix.platform }}
|
||||
labels: ${{ needs.prepare.outputs.labels }}
|
||||
tags: ${{ env.REGISTRY_IMAGE }}:${{ github.sha }}-${{ env.PLATFORM_PAIR }}
|
||||
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache-${{ env.PLATFORM_PAIR }}
|
||||
cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache-${{ env.PLATFORM_PAIR }},mode=max
|
||||
provenance: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue