diff --git a/.github/workflows/master_push.yml b/.github/workflows/master_push.yml index 3dd2878..191d59b 100644 --- a/.github/workflows/master_push.yml +++ b/.github/workflows/master_push.yml @@ -33,7 +33,7 @@ jobs: uses: microsoft/variable-substitution@v1 if: ${{ matrix.app == 'WatchIt.WebAPI' }} with: - files: ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/appsettings.json + files: ${{ github.workspace }}/${{ matrix.app }}/appsettings.json env: ConnectionStrings.Default: ${{ secrets.CONNECTION_STRING }} RootUser.Email: ${{ secrets.ROOT_EMAIL }} @@ -43,7 +43,7 @@ jobs: uses: microsoft/variable-substitution@v1 if: ${{ matrix.app == 'WatchIt.Website' }} with: - files: ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/appsettings.json + files: ${{ github.workspace }}/${{ matrix.app }}/appsettings.json env: Endpoints.Base: ${{ secrets.API_URL }} - name: Set up Docker Buildx @@ -60,7 +60,7 @@ jobs: with: string: ${{ matrix.app }} - name: Build image - run: docker build ${{ github.workspace }} -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:${{steps.gitversion.outputs.SemVer}} -f ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile + run: docker build ${{ github.workspace }} -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:${{steps.gitversion.outputs.SemVer}} -f ${{ github.workspace }}/${{ matrix.app }}/Dockerfile - name: Publish image run: docker push ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }} --all-tags outputs: