fix: Wrong working directory, simplified to 1 command (+ shell output)
Some checks failed
Build / build (push) Failing after 44s
Some checks failed
Build / build (push) Failing after 44s
This commit is contained in:
parent
1123cc8e19
commit
fd38c9a98b
1 changed files with 5 additions and 2 deletions
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue