From 47f07ad059cb8d8d78be2ec20993df629c9544fa Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Sat, 27 Jan 2024 03:16:15 +0100 Subject: [PATCH] fix: bad substitution https://gitea.stefka.eu/jiriks74/Docker-DocumentServer/actions/runs/43 --- .gitea/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4d6d1b1..dd13cf5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -39,10 +39,10 @@ jobs: id: meta run: | export latest_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) - export tags="jiriks74/onlyoffice-documentserver:${echo $latest_tag},jiriks74/onlyoffice-documentserver:latest" + export tags="jiriks74/onlyoffice-documentserver:$(echo $latest_tag),jiriks74/onlyoffice-documentserver:latest" echo $tags - echo "tags=$tags" >> "$GITEA_OUTPUT" - echo "tags=$tags" + echo "tags=$(echo $tags)" >> "$GITEA_OUTPUT" + echo "tags=$(echo $tags)" 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