Skip to content

Commit

Permalink
ci: fix issue where docker didn't run on non-main (#53)
Browse files Browse the repository at this point in the history
* ci: trivial test change

* fix: issue where docker didn't run on PR
  • Loading branch information
Gum-Joe authored Aug 20, 2024
1 parent d89e516 commit 4272803
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ jobs:
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
if: github.ref == 'refs/heads/main'
with:
context: .
push: ${{ github.refs == 'refs/heads/main' && true || false }} # only push if main
Expand Down

0 comments on commit 4272803

Please sign in to comment.