don't try to publish phpdoc image without creds

This commit is contained in:
Andrew Dolgov
2024-09-12 21:44:01 +03:00
parent ec0b4306a9
commit 3619ee97c5

View File

@@ -96,7 +96,7 @@ phpdoc:publish:
needs:
- job: phpdoc:build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $REGISTRY_USER != null && $REGISTRY_PASSWORD != null
variables:
DOCKERFILE: ${CI_PROJECT_DIR}/.docker/phpdoc/Dockerfile
NAME: ttrss-phpdoc