Skip to content

Commit b79b52e

Browse files
committed
ci: Yet another syntax try
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 375d166 commit b79b52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ jobs:
4747
curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s "release"
4848
./scripts/release build
4949
- name: Login to DockerHub
50-
if: ${{ secrets.DOCKER_USER }} != '' && ${{ secrets.DOCKER_PASS }} != ''
50+
if: secrets.DOCKER_USER && secrets.DOCKER_PASS
5151
uses: docker/login-action@v1
5252
with:
5353
username: ${{ secrets.DOCKER_USER }}
5454
password: ${{ secrets.DOCKER_PASS }}
5555
- name: Docker
56-
if: ${{ secrets.DOCKER_USER }} != '' && ${{ secrets.DOCKER_PASS }} != ''
56+
if: secrets.DOCKER_USER && secrets.DOCKER_PASS
5757
run: |
5858
DOCKER_IMAGE="${{ secrets.DOCKER_USER }}/$(make name)" IMAGE_VERSION="$(make version)" ./scripts/release docker
5959

0 commit comments

Comments
 (0)