Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Aug 2, 2024
1 parent 0606028 commit 96bb6af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 96bb6af

Please sign in to comment.