feat: add image label to link with repo

(cherry picked from commit 1cfa63fe005d53483db4891c56bfb586b8736a45)
This commit is contained in:
Zero Clover
2025-09-21 07:31:26 +08:00
committed by Zero Clover
parent 6f1c6e5c95
commit 92ce10e86b

View File

@@ -417,7 +417,7 @@ jobs:
- name: Build and push Docker image
if: steps.check.outputs.needs_bump == 'true'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
@@ -432,6 +432,7 @@ jobs:
labels: |
org.opencontainers.image.version=${{ steps.next_version.outputs.new_version }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
cache-from: type=gha
cache-to: type=gha,mode=max