From 4285790c47030c22cf72ef6788f31149f583241a Mon Sep 17 00:00:00 2001 From: Jose Riguera Date: Wed, 28 Aug 2024 13:08:36 +0200 Subject: [PATCH] Fix GH action workflow syntax --- .github/workflows/release-artifacts.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index a6cb9af..8efdc4e 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -107,8 +107,8 @@ jobs: uses: docker/build-push-action@v6 with: context: ${{ env.DOCKER_BUILD_DIR }} - build-args: - - "OTEL_BIN=${{ steps.artifact.outputs.download-path }}/${{ needs.compile.outputs.build-name }}" + build-args: | + "OTEL_BIN=${{ steps.artifact.outputs.download-path }}/${{ needs.compile.outputs.build-name }}" load: true tags: otelcol @@ -121,8 +121,8 @@ jobs: with: context: ${{ env.DOCKER_BUILD_DIR }} push: ${{ github.event_name != 'pull_request' }} - build-args: - - "OTEL_BIN=${{ steps.artifact.outputs.download-path }}/${{ needs.compile.outputs.build-name }}" + build-args: | + "OTEL_BIN=${{ steps.artifact.outputs.download-path }}/${{ needs.compile.outputs.build-name }}" tags: | ${{ steps.meta.outputs.tags }} ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ needs.compile.outputs.version }}