From 96bb6af10416d2f3c6ef09b73ae499d351e7137b Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Fri, 2 Aug 2024 13:25:45 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbbf49e088..c56a83eefa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,8 +62,8 @@ jobs: # Maps port 6379 on service container to the host - 6379:6379 credentials: - username: ${{ secrets.DOCKERHUB_PUBLIC_USERNAME }} - password: ${{ secrets.DOCKERHUB_PUBLIC_TOKEN }} + username: ${{ secrets.DOCKERHUB_PUBLIC_USERNAME || env.EMPTY_SECRET }} + password: ${{ secrets.DOCKERHUB_PUBLIC_TOKEN || env.EMPTY_SECRET }} greenmail: image: greenmail/standalone:1.6.9 ports: @@ -75,8 +75,8 @@ jobs: - 3995:3995 #POP3S - 8080:8080 #API credentials: - username: ${{ secrets.DOCKERHUB_PUBLIC_USERNAME }} - password: ${{ secrets.DOCKERHUB_PUBLIC_TOKEN }} + username: ${{ secrets.DOCKERHUB_PUBLIC_USERNAME || env.EMPTY_SECRET }} + password: ${{ secrets.DOCKERHUB_PUBLIC_TOKEN || env.EMPTY_SECRET }} steps: # when workflow is run via a workflow_call, these vars are found under input, which doesn't exist otherwise # so lets copy them over to the normal env vars