ci: add OCI image source label for automatic Gitea package linkage
Build and Push Docker Image / build-and-push (push) Canceled after 9m14s
Build and Push Docker Image / build-and-push (push) Canceled after 9m14s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user