From 89385dfdfb68588aa4ba3d95cfba6b4267354d33 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Thu, 9 Jan 2025 18:05:06 +0000 Subject: [PATCH] fix expression --- .github/workflows/publish-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 2c2c6333..1c6858aa 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -83,7 +83,7 @@ jobs: build-image: runs-on: ubuntu-latest # only build if we can push to at least one registry - if: (env.GHCR_ENABLED == 'true ') || ((vars.DOCKER_USERNAME != '') && (env.DOCKERHUB_TOKEN != '')) || (vars.GITLAB_USERNAME != '') && (env.GITLAB_TOKEN != '') + if: needs.define-variables.outputs.images != '' needs: define-variables # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. permissions: