fix: bad substitution
Some checks failed
Build / build (push) Failing after 39s

https://gitea.stefka.eu/jiriks74/Docker-DocumentServer/actions/runs/43
This commit is contained in:
Jiří Štefka 2024-01-27 03:16:15 +01:00
parent 6871cb70c8
commit 47f07ad059
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

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