diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 05e3592..b6a1b51 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -37,9 +37,12 @@ jobs: - name: Extract tags and labels for Docker id: meta + # working-directory: upstream 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 latest_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-) + # 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)" >> "$GITEA_OUTPUT" # echo "tags=$(echo $tags)"