mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
Fix change on githubs release page
This commit is contained in:
parent
3827197960
commit
220567ece1
@ -108,7 +108,7 @@ build-docker-image:
|
||||
script:
|
||||
# Download latest buildx bin from github
|
||||
- mkdir -p ~/.docker/cli-plugins/
|
||||
- BUILDX_LATEST_BIN_URI=$(curl -s -L https://github.com/docker/buildx/releases/latest | grep 'linux-amd64' | grep 'href' | sed 's/.*href="/https:\/\/github.com/g; s/amd64".*/amd64/g')
|
||||
- BUILDX_LATEST_BIN_URI=$(curl -s -L https://api.github.com/repos/docker/buildx/releases/latest | jq -r '.assets[].browser_download_url | select( . | contains("linux-amd64"))')
|
||||
- curl -s -L ${BUILDX_LATEST_BIN_URI} -o ~/.docker/cli-plugins/docker-buildx
|
||||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
# Get and run the latest docker/binfmt tag to use its qemu parts
|
||||
|
Loading…
Reference in New Issue
Block a user