This commit is contained in:
parent
3c3e3e7727
commit
bb980519e4
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
|
@ -27,12 +27,12 @@ steps:
|
|||
;;
|
||||
esac
|
||||
- |-
|
||||
export BUILDX_URL=$( \
|
||||
wget -q -O - \
|
||||
https://api.github.com/repos/docker/buildx/releases/latest \
|
||||
| grep "browser_download_url.*linux-$ARCH" \
|
||||
| cut -d: -f2,3 \
|
||||
| tr -d \" \
|
||||
export BUILDX_URL=$(
|
||||
wget -q -O -
|
||||
https://api.github.com/repos/docker/buildx/releases/latest
|
||||
| grep "browser_download_url.*linux-$ARCH"
|
||||
| cut -d: -f2,3
|
||||
| tr -d \"
|
||||
)
|
||||
- mkdir -p ~/.docker/cli-plugins
|
||||
- wget -O ~/.docker/cli-plugins/docker-buildx $BUILDX_URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue