Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-08 15:15:44 +03:00 committed by GitHub
parent 21b6355e87
commit d5e3ef6974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,8 @@ jobs:
fi
if [ "${{ matrix.os }}" == "centos" ]; then
DOCKER_PLATFORM="linux/amd64,linux/arm64,linux/ppc64le"
#DOCKER_PLATFORM="linux/amd64,linux/arm64,linux/ppc64le"
DOCKER_PLATFORM="linux/amd64"
fi
if [ "${{ matrix.build }}" == "java-gateway" ]; then
@ -110,7 +111,11 @@ jobs:
echo "::warning Branch - ${GIT_BRANCH}"
TAGS_ARRAY+=("$IMAGE_NAME:${{ matrix.os }}-${GIT_BRANCH}")
if [ "${GIT_BRANCH}" == "trunk" ]; then
TAGS_ARRAY+=("$IMAGE_NAME:${{ matrix.os }}-${GIT_BRANCH}")
else
TAGS_ARRAY+=("$IMAGE_NAME:${{ matrix.os }}-${GIT_BRANCH}-latest")
fi
if [ "${{ matrix.os }}" == "alpine" ] && [ "${LATEST_BRANCH}" == "${GIT_BRANCH}" ]; then
TAGS_ARRAY+=("$IMAGE_NAME:latest")