Only push with commited to main

This commit is contained in:
Izuco 2022-03-13 11:16:46 +01:00
parent fe835c2b37
commit 8c6eafe552
No known key found for this signature in database
GPG key ID: E9CBE9E4EF3A1BFA

View file

@ -19,6 +19,7 @@ jobs:
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image
with:
push: ${{ github.ref == 'refs/heads/main' }}
image: izuco/multi-downloader-nx
tags: v1, latest
registry: docker.io