Skip to content

Commit

Permalink
Docker: Build image on pull request as well
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFP committed Oct 16, 2024
1 parent 1c0cfb5 commit 02b1c68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
tags:
- "v*"
pull_request:
branches:
- main

jobs:
docker-build:
Expand All @@ -30,6 +33,6 @@ jobs:
- uses: docker/build-push-action@v6
with:
context: .
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 02b1c68

Please sign in to comment.