fix(cicd): bad exit codes
Some checks failed
Build / build (push) Failing after 20s

This commit is contained in:
Jiří Štefka 2023-11-21 20:36:43 +01:00
parent 9e9f6d37d2
commit c2e4633b6c
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -21,8 +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 1; fi
shell: bash
if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; else exit 0; fi shell: bash
- name: Remove temporary files
if: steps.check-existing.conclusion == 'success'