fix: Wrong working directory, simplified to 1 command (+ shell output)
Some checks failed
Build / build (push) Failing after 44s

This commit is contained in:
Jiří Štefka 2024-01-27 03:23:59 +01:00
parent 1123cc8e19
commit fd38c9a98b
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -37,9 +37,12 @@ jobs:
- name: Extract tags and labels for Docker - name: Extract tags and labels for Docker
id: meta id: meta
# working-directory: upstream
run: | run: |
export latest_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) # 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:$(git describe --tags --abbrev=0 | cut -d 'v' -f2-),jiriks74/onlyoffice-documentserver:latest"
echo "tags=jiriks74/onlyoffice-documentserver:$(cd upstream && git describe --tags --abbrev=0 | cut -d 'v' -f2-),jiriks74/onlyoffice-documentserver:latest" >> "$GITEA_OUTPUT"
echo "tags=jiriks74/onlyoffice-documentserver:$(cd upstream && git describe --tags --abbrev=0 | cut -d 'v' -f2-),jiriks74/onlyoffice-documentserver:latest"
# echo $tags # echo $tags
# echo "tags=$(echo $tags)" >> "$GITEA_OUTPUT" # echo "tags=$(echo $tags)" >> "$GITEA_OUTPUT"
# echo "tags=$(echo $tags)" # echo "tags=$(echo $tags)"