diff --git a/.github/actions/docker-push-variables/push_vars.py b/.github/actions/docker-push-variables/push_vars.py index d5e7b811ad..7599633401 100644 --- a/.github/actions/docker-push-variables/push_vars.py +++ b/.github/actions/docker-push-variables/push_vars.py @@ -9,7 +9,7 @@ parser.read(".bumpversion.cfg") # Decide if we should push the image or not should_push = True -if len(os.environ.get("DOCKER_USERNAME", "")) > 0: +if len(os.environ.get("DOCKER_USERNAME", "")) < 1: # Don't push if we don't have DOCKER_USERNAME, i.e. no secrets are available should_push = False if os.environ.get("GITHUB_REPOSITORY").lower() == "goauthentik/authentik-internal":