Skip to content

Commit

Permalink
Merge pull request #166 from isZumpo/docker-image-test-on-pullrequests
Browse files Browse the repository at this point in the history
Build & test docker image on pull requests
  • Loading branch information
tphakala committed May 14, 2024
2 parents 262aeac + f0c1c76 commit 8fe2171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Deploy Image to GHCR
name: Build docker image

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -46,6 +45,7 @@ jobs:
push-docker-image:
needs: test-docker-image
if: github.event_name == 'push' && github.ref_name == 'main'
runs-on: ubuntu-20.04
strategy:
matrix:
Expand Down

0 comments on commit 8fe2171

Please sign in to comment.