From 0cc59f3cfaf5848155b53001d9d6175df0c38de3 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Wed, 6 Oct 2021 10:21:35 -0700 Subject: [PATCH] Fixing the docker image build (#1618) * Fixing the docker image build * fixing the download path * adding conditional on the docker image build artifact setup --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8da77ceea1..84f39e8288 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -294,7 +294,12 @@ jobs: uses: actions/download-artifact@3be87be14a055c47b01d3bd88f8fe02320a9bb60 # v2.0.10 with: name: ${{ matrix.service_name }}.zip - path: ${{ matrix.base_path }}/${{ matrix.service_name }}/obj/build-output/publish + + - name: Setup build artifact + if: ${{ matrix.dotnet }} + run: | + mkdir -p ${{ matrix.base_path}}/${{ matrix.service_name}}/obj/build-output/publish + unzip ${{ matrix.service_name }}.zip -d ${{ matrix.base_path}}/${{ matrix.service_name}}/obj/build-output/publish - name: Build Docker images run: |