fix: CI: disable docker container uploads for branch!=master

This commit is contained in:
Aravinth Manivannan 2023-10-18 13:22:17 +05:30
parent 61729c5fae
commit 5d03682c45
No known key found for this signature in database
GPG key ID: F8F50389936984FF

View file

@ -119,7 +119,7 @@ jobs:
run: make test.integration run: make test.integration
- name: Login to DockerHub - name: Login to DockerHub
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'mCaptcha/mCaptcha' if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository == 'mCaptcha/mCaptcha'
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: mcaptcha username: mcaptcha