Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-07 22:30:39 +03:00 committed by GitHub
parent a7adff05b8
commit 92a53fdef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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