ci: fix var

This commit is contained in:
Michael Grote 2023-06-30 11:49:01 +02:00
parent 8e84474e17
commit d754860ab3

View file

@ -31,7 +31,7 @@ steps:
--architecture all \ --architecture all \
--description "sanoid deb package" \ --description "sanoid deb package" \
--url "https://git.mgrote.net/mg/sanoid-deb" \ --url "https://git.mgrote.net/mg/sanoid-deb" \
-p sanoid_$${VERSION}.deb \ -p sanoid_$(echo $version).deb \
-v $(echo $version) \ -v $(echo $version) \
sanoid=/usr/bin/sanoid \ sanoid=/usr/bin/sanoid \
syncoid=/usr/bin/syncoid \ syncoid=/usr/bin/syncoid \
@ -48,4 +48,4 @@ steps:
from_secret: httpd-api-server-token from_secret: httpd-api-server-token
commands: commands:
- | - |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$${VERSION}.deb" http://docker10.grote.lan:5040/upload curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload