|
@@ -153,13 +153,13 @@ jobs:
|
|
|
- test
|
|
|
|
|
|
steps:
|
|
|
- - if: env.DOCKERHUB_USERNAME != ''
|
|
|
+ - if: env.DOCKERHUB_USERNAME != null
|
|
|
name: Checkout
|
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
|
persist-credentials: "false"
|
|
|
|
|
|
- - if: env.DOCKERHUB_USERNAME != ''
|
|
|
+ - if: env.DOCKERHUB_USERNAME != null
|
|
|
name: Login to GHCR
|
|
|
uses: docker/login-action@v3
|
|
|
with:
|
|
@@ -167,7 +167,7 @@ jobs:
|
|
|
username: "${{ github.repository_owner }}"
|
|
|
password: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
|
|
- - if: env.DOCKERHUB_USERNAME != ''
|
|
|
+ - if: env.DOCKERHUB_USERNAME != null
|
|
|
name: Login to Docker Hub
|
|
|
uses: docker/login-action@v3
|
|
|
with:
|
|
@@ -175,7 +175,7 @@ jobs:
|
|
|
username: "${{ env.DOCKERHUB_USERNAME }}"
|
|
|
password: "${{ secrets.DOCKERHUB_TOKEN }}"
|
|
|
|
|
|
- - if: env.DOCKERHUB_USERNAME != ''
|
|
|
+ - if: env.DOCKERHUB_USERNAME != null
|
|
|
name: Release
|
|
|
env:
|
|
|
GIT_URL: "${{ needs.build.outputs.git_url }}"
|