-
name: Login to Docker Hub
uses: docker/login-action@v3
- # Don't attempt to login is not pushing to Docker Hub
+ # Don't attempt to login if not pushing to Docker Hub
if: steps.push-other-places.outputs.enable == 'true'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
-
name: Login to Quay.io
uses: docker/login-action@v3
- # Don't attempt to login is not pushing to Quay.io
+ # Don't attempt to login if not pushing to Quay.io
if: steps.push-other-places.outputs.enable == 'true'
with:
registry: quay.io