Export PR Docker builds with --load to avoid no-output warning
Some checks failed
Build and Push Docker Image / build (pull_request) Has been cancelled

This commit is contained in:
2026-03-12 12:11:22 +01:00
parent 8f1352013c
commit e41edea745

View File

@@ -53,6 +53,9 @@ jobs:
with:
context: .
file: ./Dockerfile
# Push on branch builds; on PR builds export to local Docker daemon
# to avoid "No output specified" warnings while still validating the build.
push: ${{ gitea.event_name != 'pull_request' }}
load: ${{ gitea.event_name == 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}