From 8e3fff2ca11d11461d30a9c4c8da3d81a2f98d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Tue, 21 Nov 2023 20:42:53 +0100 Subject: [PATCH] fix(cicd): add exit command --- .gitea/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f1529cb..1baf24f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,7 +21,7 @@ jobs: docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) echo $docker_tag echo "docker_tag=${docker_tag}" >> GITHUB_OUTPUT - if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 0; fi + if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 0; else exit 1; fi shell: bash - name: Remove temporary files