diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 50a1b0f9ef..88331a3a9e 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -94,7 +94,8 @@ jobs: if: ${{ github.event_name == 'push' && matrix.network == 'mainnet' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }} + build-args: | + NETWORK=${{ matrix.network }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:latest @@ -106,7 +107,8 @@ jobs: if: ${{ github.event_name == 'push' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }} + build-args: | + NETWORK=${{ matrix.network }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:latest-${{ matrix.network }} @@ -118,7 +120,8 @@ jobs: if: ${{ github.event_name == 'push' && matrix.network == 'mainnet' && startsWith(github.ref, 'refs/tags') && matrix.target == 'cardano-node-ogmios' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }} + build-args: | + NETWORK=${{ matrix.network }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:${{ steps.tag-variables.outputs.tag }}_${{ matrix.cardano_node_version }} @@ -130,7 +133,9 @@ jobs: if: ${{ github.event_name == 'push' && matrix.network == 'mainnet' && startsWith(github.ref, 'refs/tags') && matrix.target == 'ogmios' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }}, CARDANO_NODE_VERSION=${{ matrix.cardano_node_version }} + build-args: | + NETWORK=${{ matrix.network }} + CARDANO_NODE_VERSION=${{ matrix.cardano_node_version }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:${{ steps.tag-variables.outputs.tag }}_${{ matrix.cardano_node_version }} @@ -142,7 +147,9 @@ jobs: if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.target == 'cardano-node-ogmios' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }}, CARDANO_NODE_VERSION=${{ matrix.cardano_node_version }} + build-args: | + NETWORK=${{ matrix.network }} + CARDANO_NODE_VERSION=${{ matrix.cardano_node_version }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:${{ steps.tag-variables.outputs.tag }}_${{ matrix.cardano_node_version }}-${{ matrix.network }} @@ -154,7 +161,8 @@ jobs: if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.target == 'ogmios' }} uses: docker/build-push-action@v2 with: - build-args: NETWORK=${{ matrix.network }} + build-args: | + NETWORK=${{ matrix.network }} context: . push: true tags: ${{ steps.base-variables.outputs.image }}:${{ steps.tag-variables.outputs.tag }}-${{ matrix.network }}