Fix server release again (#2403)

* Fix server release again

* small improvement to regex
This commit is contained in:
Vítor Vasconcellos 2024-04-25 21:20:36 -03:00 committed by GitHub
parent ab46cffa11
commit 476447ab70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,8 +48,14 @@ jobs:
working-directory: /tmp
run: |
set -euxo pipefail
curl -SsJLO https://passt.top/builds/latest/x86_64/passt_954589b-1_all.deb
sudo dpkg -i passt_954589b-1_all.deb
deb="$(
curl -SsL https://passt.top/builds/latest/x86_64 \
| grep -oP 'passt[^\.<>'\''"]+\.deb' | sort -u | head -n1
)"
curl -SsJLO "https://passt.top/builds/latest/x86_64/${deb}"
sudo dpkg -i "${deb}"
- name: Determine image name & tag
id: image_info