Skip to content

Commit 9a84fb3

Browse files
authored
fix: only login to docker if vars set
1 parent 16aaef6 commit 9a84fb3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
version: latest
4646
args: init
4747
- name: docker-login
48+
 if: ${{ secrets.DSV_DOCKER_USERNAME && secrets.DSV_DOCKER_PASSWORD }}
4849
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
4950
with:
5051
username: ${{ secrets.DSV_DOCKER_USERNAME }}

0 commit comments

Comments
 (0)