From ee3a0537d18bb6399fa7386ecefdf83a6af42002 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Fri, 8 Oct 2021 14:37:57 +0200 Subject: [PATCH] Updated build script --- .github/workflows/images_build_windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images_build_windows.yml b/.github/workflows/images_build_windows.yml index 41c1b947e..e054eeb70 100644 --- a/.github/workflows/images_build_windows.yml +++ b/.github/workflows/images_build_windows.yml @@ -61,7 +61,7 @@ jobs: build_base: timeout-minutes: 70 - name: Build base on ${{ matrix.os }} + name: Build ${{ matrix.build }} base on ${{ matrix.os }} needs: init_build strategy: fail-fast: false @@ -96,7 +96,7 @@ jobs: - name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.build }}-${{ matrix.os }} and push id: docker_build run: | - $tags=$(echo '${{ steps.meta.outputs.tags }}' | jq -r '. | map("""--tag=""" + .) | join(""" """)') + $tags=$(echo '${{ fromJson(steps.meta.outputs.tags) }}' | jq -r '. | map("""--tag=""" + .) | join(""" """)') docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\ docker push image push --all-tags ${{ steps.meta.outputs.tags[0] }}