Skip to content

Commit

Permalink
ci: fix no build
Browse files Browse the repository at this point in the history
  • Loading branch information
2mal3 committed Nov 26, 2023
1 parent 76d742b commit 55d51c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Build
uses: docker/build-push-action@v4
if: github.ref != 'refs/heads/main'
if: github.ref == 'refs/heads/main'
with:
context: .
cache-from: type=gha
Expand All @@ -35,7 +35,7 @@ jobs:

- name: Build and push
uses: docker/build-push-action@v4
if: github.ref == 'refs/heads/main'
if: github.ref != 'refs/heads/main'
with:
context: .
cache-from: type=gha
Expand Down

0 comments on commit 55d51c3

Please sign in to comment.