Skip to content

Commit a6098f3

Browse files
author
Oleg
committed
Fix condition for login operation
1 parent fe27c7d commit a6098f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
username: ${{ github.actor }}
9191
password: ${{ github.token }}
9292
registry: ${{ env.IMAGE_REGISTRY }}
93-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
93+
if: inputs.publish-image
9494

9595
- name: Add tag with version to the image
9696
env:

0 commit comments

Comments
 (0)