fix(cicd): move output to the end of job
Some checks failed
Build / build (push) Failing after 49s

This commit is contained in:
Jiří Štefka 2023-11-21 19:39:00 +01:00
parent 6d6a87fe5b
commit c091b8908a
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -18,11 +18,11 @@ jobs:
run: | run: |
git clone https://github.com/ONLYOFFICE/DocumentServer git clone https://github.com/ONLYOFFICE/DocumentServer
cd DocumentServer cd DocumentServer
echo "docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-)" >> GITHUB_OUTPUT
docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-)
echo $docker_tag echo $docker_tag
if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; fi if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; fi
cd .. && rm -rf DocumentServer cd .. && rm -rf DocumentServer
echo "docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-)" >> GITHUB_OUTPUT
shell: bash shell: bash
- name: Install Docker - name: Install Docker