mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-31 19:26:58 -06:00
Temporary disabled ARM docker images to reduce build times
This commit is contained in:
parent
14e0766f72
commit
f340e0e76e
@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
# PLATFORMS="linux/arm/v7,linux/arm64/v8,linux/amd64"
|
||||
PLATFORMS="linux/amd64"
|
||||
BUILDX_VER=v0.4.1
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
|
||||
@ -21,12 +23,12 @@ if [[ ! -z $TRAVIS_TAG ]]; then
|
||||
|
||||
docker buildx build --push \
|
||||
--build-arg SHLINK_VERSION=${TRAVIS_TAG#?} \
|
||||
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||
--platform ${PLATFORMS} \
|
||||
${TAGS} .
|
||||
|
||||
# If build branch is develop, build latest (on master, when there's no tag, do not build anything)
|
||||
elif [[ "$TRAVIS_BRANCH" == 'develop' ]]; then
|
||||
docker buildx build --push \
|
||||
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||
--platform ${PLATFORMS} \
|
||||
-t shlinkio/shlink:latest .
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user