Compare commits

...

2 commits

Author SHA1 Message Date
Michael Gibson
bdd5988498 Formatting fixes.
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-04 10:06:34 -06:00
Michael Gibson
139b6744cb Formatting fixes. 2020-12-04 10:06:16 -06:00

View file

@ -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
@ -50,15 +50,15 @@ steps:
- docker buildx version
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- >-
echo -n $REGISTRY_PASS
echo -n $REGISTRY_PASS \
| 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