fix: Forgot to delete cut command, bad if statement

This commit is contained in:
Jiří Štefka 2024-01-27 04:31:57 +01:00
parent abd8c8fc95
commit 3318b6d62f
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -41,7 +41,7 @@ jobs:
- name: Check if the image was already built - name: Check if the image was already built
id: check-build-status id: check-build-status
run: | run: |
if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/$(echo ${{ steps.meta.outputs.tags }} | cut -d ':' -f2)" > /dev/null; then echo "Desn't exist" && exit 0; else echo "Already existst" && exit 1; fi if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/$(echo ${{ steps.meta.outputs.tags }})" > /dev/null; then echo "Already existst" && exit 1; else echo "Desn't exist" && exit 0; fi
- name: Set tag in Dockerfile - name: Set tag in Dockerfile
run: | run: |