fix(cicd): add exit command
Some checks failed
Build / build (push) Failing after 24s

This commit is contained in:
Jiří Štefka 2023-11-21 20:42:53 +01:00
parent 5ebcce6742
commit 8e3fff2ca1
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -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