mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-02 04:33:09 +01:00
Update CI.yml
This commit is contained in:
parent
a7adff05b8
commit
92a53fdef0
14
.github/workflows/CI.yml
vendored
14
.github/workflows/CI.yml
vendored
@ -139,6 +139,19 @@ jobs:
|
|||||||
$TAGS \
|
$TAGS \
|
||||||
--file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }}
|
--file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }}
|
||||||
|
|
||||||
|
- name: Build images
|
||||||
|
env:
|
||||||
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
||||||
|
run: |
|
||||||
|
if [ ! -z "${{ steps.prepare_push.outputs.buildx_args }}" ]; then
|
||||||
|
BUILDX_ARGS=="${{ steps.prepare_push.outputs.buildx_args }}"
|
||||||
|
elif [ ! -z "${{ steps.prepare_release.outputs.buildx_args }}" ]; then
|
||||||
|
BUILDX_ARGS=="${{ steps.prepare_release.outputs.buildx_args }}"
|
||||||
|
fi
|
||||||
|
echo "docker buildx build --cache-to \"type=local,dest=/tmp/.buildx-cache\" \
|
||||||
|
--output \"type=image,push=false\" \
|
||||||
|
$BUILDX_ARGS"
|
||||||
|
|
||||||
- name: Continue
|
- name: Continue
|
||||||
run: |
|
run: |
|
||||||
echo "::warning push - ${{ steps.prepare_push.outputs.buildx_args }}"
|
echo "::warning push - ${{ steps.prepare_push.outputs.buildx_args }}"
|
||||||
@ -156,5 +169,6 @@ jobs:
|
|||||||
IFS='|' read -r -a IMAGE_TAG_VERSIONS <<< $IMAGE_TAG_VERSIONS
|
IFS='|' read -r -a IMAGE_TAG_VERSIONS <<< $IMAGE_TAG_VERSIONS
|
||||||
|
|
||||||
for version in ${IMAGE_TAG_VERSIONS[@]}; do
|
for version in ${IMAGE_TAG_VERSIONS[@]}; do
|
||||||
|
echo "Checking \"$version\"... "
|
||||||
docker buildx imagetools inspect $version
|
docker buildx imagetools inspect $version
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user