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
Some checks failed
Build and Push Docker Image / build (pull_request) Has been cancelled
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user