Skip to content

Commit 36b70f4

Browse files
committed
Revert changes
1 parent 9a356df commit 36b70f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
path: TestResults/Merged/SummaryGithub.md
7474

7575
- name: Log in to GHCR
76-
# if: ${{ github.event_name == 'push' }}
76+
if: ${{ github.event_name == 'push' }}
7777
uses: docker/login-action@v4
7878
with:
7979
registry: ghcr.io
@@ -102,7 +102,7 @@ jobs:
102102
context: .
103103
file: src/SchoolAccount.Web.Mvc/Dockerfile
104104
target: final
105-
push: true
105+
push: ${{ github.ref == env.MAIN_BRANCH }}
106106
tags: ${{ steps.meta.outputs.tags }}
107107

108108
- name: Publish

0 commit comments

Comments
 (0)