mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-17 12:00:49 +01:00
Update CI.yml
This commit is contained in:
parent
21b6355e87
commit
d5e3ef6974
9
.github/workflows/CI.yml
vendored
9
.github/workflows/CI.yml
vendored
@ -89,7 +89,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${{ matrix.os }}" == "centos" ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ "${{ matrix.build }}" == "java-gateway" ]; then
|
if [ "${{ matrix.build }}" == "java-gateway" ]; then
|
||||||
@ -110,7 +111,11 @@ jobs:
|
|||||||
|
|
||||||
echo "::warning Branch - ${GIT_BRANCH}"
|
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
|
if [ "${{ matrix.os }}" == "alpine" ] && [ "${LATEST_BRANCH}" == "${GIT_BRANCH}" ]; then
|
||||||
TAGS_ARRAY+=("$IMAGE_NAME:latest")
|
TAGS_ARRAY+=("$IMAGE_NAME:latest")
|
||||||
|
Loading…
Reference in New Issue
Block a user