mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Login only on tags
This commit is contained in:
parent
6025aa4b38
commit
72e0c52ff0
1 changed files with 1 additions and 0 deletions
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
|
@ -61,6 +61,7 @@ jobs:
|
|||
${{ runner.os }}-buildx-
|
||||
|
||||
- name: Login to Docker Hub registry
|
||||
if: startsWith(github.ref, 'refs/tags/') # Login only on tags
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue