dashboardwg-managervpnsite-to-siteobfuscationwireguard-vpn-setupwireguard-vpnwireguard-tunnelwireguard-dashboardwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
563 B
18 lines
563 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ "$TRAVIS_BRANCH" != "master" ]; then
|
||
|
docker buildx build \
|
||
|
--progress plain \
|
||
|
--platform=linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x \
|
||
|
.
|
||
|
exit $?
|
||
|
fi
|
||
|
echo $DOCKER_PASSWORD | docker login -u qmcgaw --password-stdin &> /dev/null
|
||
|
TAG="${TRAVIS_TAG:-latest}"
|
||
|
docker buildx build \
|
||
|
--progress plain \
|
||
|
--platform=linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x \
|
||
|
-t $DOCKER_REPO:$TAG \
|
||
|
--push \
|
||
|
.
|