Fix httpie call

This commit is contained in:
Sven-Hendrik Haase 2020-11-02 17:24:42 +01:00
parent 90b3a2e66b
commit 3c58c3c471
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -188,8 +188,8 @@ release:
script:
- |
# Update the description on https://hub.docker.com/r/archlinux/archlinux
TOKEN="$(https POST https://hub.docker.com/v2/users/login username="${DOCKERHUB_USERNAME}" password="${DOCKERHUB_PASSWORD}" | jq -er .token)"
https PATCH https://hub.docker.com/v2/repositories/archlinux/archlinux/ Authorization:"JWT ${TOKEN}" full_description="$(cat README.md)"
TOKEN="$(http POST https://hub.docker.com/v2/users/login username="${DOCKERHUB_USERNAME}" password="${DOCKERHUB_PASSWORD}" | jq -er .token)"
http PATCH https://hub.docker.com/v2/repositories/archlinux/archlinux/ Authorization:"JWT ${TOKEN}" full_description="$(cat README.md)"
# Upload rootfs to the Generic Packages Repository
for group in base base-devel; do