Skip to content

Commit

Permalink
fixed docker builds not being done on PRs (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Sep 1, 2023
1 parent 12f5cd6 commit 4c30aab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: CI
on:
push:
branches: main
branches: [main]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,7 +37,9 @@ jobs:
with:
context: server
pull: true
push: true
push: ${{ github.event_name != 'pull_request' }}
build-args: version=${{ github.sha }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 4c30aab

Please sign in to comment.