gitlab-ci: fix reversed logic in docker push

I got it backwards in 66d8b783f0 from !1183
This commit is contained in:
Hans-Christoph Steiner 2022-10-11 09:52:33 +02:00
parent b0124aca1a
commit b4720d9201
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ docker:
- docker tag $TEST_IMAGE ${RELEASE_IMAGE}-bullseye
- echo $CI_BUILD_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com
# This avoids filling up gitlab.com free tier accounts with unused docker images.
- if test -n "$FDROID_PUSH_DOCKER_IMAGE"; then
- if test -z "$FDROID_PUSH_DOCKER_IMAGE"; then
echo "Skipping docker push to save quota on your gitlab namespace.";
echo "If you want to enable the push, set FDROID_PUSH_DOCKER_IMAGE in";
echo "https://gitlab.com/$CI_PROJECT_NAMESPACE/fdroidserver/-/settings/ci_cd#js-cicd-variables-settings";