2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-05 22:51:52 +01:00

Merge pull request #53 from nupplaphil/issue/lowercase

Lowercase friendica version
This commit is contained in:
Tobias Diekershoff 2019-02-26 09:30:18 +01:00 committed by GitHub
commit 5c6fc19a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 13 additions and 12 deletions

View file

@ -59,9 +59,9 @@ jobs:
- env: VERSION=2019.03-dev VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=2019.03-dev VARIANT=fpm ARCH=amd64
- env: VERSION=2019.03-dev VARIANT=apache ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=fpm ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=apache ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=fpm ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=apache ARCH=amd64
- stage: test images (full)
env: VERSION=2019.01 VARIANT=fpm-alpine ARCH=amd64
@ -76,12 +76,12 @@ jobs:
- env: VERSION=2019.03-dev VARIANT=fpm ARCH=i386
- env: VERSION=2019.03-dev VARIANT=apache ARCH=amd64
- env: VERSION=2019.03-dev VARIANT=apache ARCH=i386
- env: VERSION=2019.03-RC VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=fpm-alpine ARCH=i386
- env: VERSION=2019.03-RC VARIANT=fpm ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=fpm ARCH=i386
- env: VERSION=2019.03-RC VARIANT=apache ARCH=amd64
- env: VERSION=2019.03-RC VARIANT=apache ARCH=i386
- env: VERSION=2019.03-rc VARIANT=fpm-alpine ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=fpm-alpine ARCH=i386
- env: VERSION=2019.03-rc VARIANT=fpm ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=fpm ARCH=i386
- env: VERSION=2019.03-rc VARIANT=apache ARCH=amd64
- env: VERSION=2019.03-rc VARIANT=apache ARCH=i386
- stage: deploy
env: SCRIPT=build_and_push.sh

View file

@ -50,7 +50,8 @@ travisEnv=
travisEnvAmd64=
function create_variant() {
dir="$1/$variant"
dockerName=${1,,}
dir="$dockerName/$variant"
# Create the version+variant directory with a Dockerfile.
mkdir -p "$dir"
@ -90,9 +91,9 @@ function create_variant() {
fi
done
travisEnvAmd64='\n - env: VERSION='"$1"' VARIANT='"$variant"' ARCH=amd64'"$travisEnvAmd64"
travisEnvAmd64='\n - env: VERSION='"$dockerName"' VARIANT='"$variant"' ARCH=amd64'"$travisEnvAmd64"
for arch in i386 amd64; do
travisEnv='\n - env: VERSION='"$1"' VARIANT='"$variant"' ARCH='"$arch$travisEnv"
travisEnv='\n - env: VERSION='"$dockerName"' VARIANT='"$variant"' ARCH='"$arch$travisEnv"
done
}