ci: add OCI image source label for automatic Gitea package linkage
Build and Push Docker Image / build-and-push (push) Canceled after 9m14s

This commit is contained in:
2026-08-21 18:23:19 +09:00
parent 6b81b0d5e7
commit 3e312f3960
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -34,6 +34,8 @@ jobs:
with:
context: .
push: true
labels: |
org.opencontainers.image.source=https://${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}/${{ gitea.repository }}
tags: |
${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}/${{ env.REPO }}:latest
${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}/${{ env.REPO }}:${{ gitea.sha }}