Formatting fixes.
This commit is contained in:
parent
8e22ce7e9f
commit
139b6744cb
1 changed files with 11 additions and 11 deletions
22
.drone.yml
22
.drone.yml
|
|
@ -36,12 +36,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
|
||||
|
|
@ -54,11 +54,11 @@ steps:
|
|||
| docker login -u $REGISTRY_USER --password-stdin $REGISTRY_HOST
|
||||
- docker buildx create --name multiarch --use
|
||||
- >-
|
||||
docker buildx build
|
||||
--platform linux/amd64,linux/arm64
|
||||
--output=type=image,push=true
|
||||
--progress tty
|
||||
-t $REGISTRY_HOST/$IMAGE:latest
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--output=type=image,push=true \
|
||||
--progress tty \
|
||||
-t $REGISTRY_HOST/$IMAGE:latest \
|
||||
.
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue