Skip to content

Commit

Permalink
Flip the params
Browse files Browse the repository at this point in the history
Empty might be considered "false" for some reason....
  • Loading branch information
LordRalex committed Mar 12, 2024
1 parent 893cfc8 commit 5bea993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ jobs:
timeout-minutes: 10

env:
REGISTRY: ${{ vars.REGISTRY == 'docker.com' && '' || vars.REGISTRY }}
REGISTRY: ${{ vars.REGISTRY != 'docker.com' && vars.REGISTRY || '' }}
REGISTRY_USERNAME: ${{ vars.REGISTRY == 'ghcr.io' && github.actor || secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ vars.REGISTRY == 'ghcr.io' && secrets.GITHUB_TOKEN || secrets.REGISTRY_PASSWORD }}

Expand Down

0 comments on commit 5bea993

Please sign in to comment.