Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Also build PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Aug 8, 2021
1 parent 8200164 commit 067ce07
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * *'

Expand Down Expand Up @@ -36,6 +39,7 @@ jobs:
- uses: actions/checkout@v2

- uses: docker/login-action@v1
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -50,6 +54,6 @@ jobs:
- uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 067ce07

Please sign in to comment.