From 3318b6d62fb80de4b1633ed47f40bb1384a00de8 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Sat, 27 Jan 2024 04:31:57 +0100 Subject: [PATCH] fix: Forgot to delete cut command, bad if statement --- .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 062e2ce..0a4cf24 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -41,7 +41,7 @@ jobs: - name: Check if the image was already built id: check-build-status 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 run: |