mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-21 04:48:47 +01:00
Update CI.yml
This commit is contained in:
parent
d89235748a
commit
0eefee60b5
8
.github/workflows/CI.yml
vendored
8
.github/workflows/CI.yml
vendored
@ -111,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")
|
||||
@ -217,4 +221,4 @@ jobs:
|
||||
for version in ${IMAGE_TAG_VERSIONS[@]}; do
|
||||
echo "Checking \"$version\"... "
|
||||
docker buildx imagetools inspect $version
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user