Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-07 21:42:50 +03:00 committed by GitHub
parent 4ae75eb8f1
commit f7bd28e47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ jobs:
echo ::set-output name=list::${DOCKER_PLATFORM} echo ::set-output name=list::${DOCKER_PLATFORM}
- name: Prepare environment - name: Prepare environment (push)
if: github.event_name == 'push' if: github.event_name == 'push'
id: prepare_push id: prepare_push
run: | run: |
@ -110,7 +110,7 @@ jobs:
${TAGS} \ ${TAGS} \
--file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }} --file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }}
- name: Prepare environment - name: Prepare environment (release)
if: github.event_name == 'release' && github.event.action == 'created' if: github.event_name == 'release' && github.event.action == 'created'
id: prepare_release id: prepare_release
run: | run: |
@ -139,7 +139,7 @@ jobs:
$TAGS \ $TAGS \
--file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }} --file ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile ./${{ matrix.build }}/${{ matrix.os }}
- name: Prepare environment output - name: Continue
run: | run: |
echo "::warning push - ${{ steps.prepare_push.outputs.buildx_args }}" echo "::warning push - ${{ steps.prepare_push.outputs.buildx_args }}"
echo "::warning release - ${{ steps.prepare_release.outputs.buildx_args }}" echo "::warning release - ${{ steps.prepare_release.outputs.buildx_args }}"