trigger workflow build on pr

This commit is contained in:
duhow
2024-08-24 14:14:58 +02:00
committed by Martin Michelsen
parent 591f3c7b36
commit 7414b6ce8e
+3 -1
View File
@@ -12,6 +12,8 @@ on:
tags: tags:
- 'v**' - 'v**'
pull_request:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -49,7 +51,7 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
push: true push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}