From 6eb8e09253d4b5c7eb2dbf5dc2eb4822c912a03d Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Fri, 16 Aug 2024 15:51:04 +0800 Subject: [PATCH] Use newline delimiter for build-args --- .github/workflows/build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index de11754..d31e913 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,7 +31,9 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: datacatering/fluentd-elasticsearch:${{ env.VERSION }} - build-args: "FLUENTD_VERSION=${{ env.VERSION }},PLUGIN_ELASTICSEARCH_VERSION=${{ env.PLUGIN_ELASTICSEARCH_VERSION }}" + build-args: | + FLUENTD_VERSION=${{ env.VERSION }} + PLUGIN_ELASTICSEARCH_VERSION=${{ env.PLUGIN_ELASTICSEARCH_VERSION }}" - name: Build and push - gcs uses: docker/build-push-action@v6 with: @@ -39,4 +41,6 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: datacatering/fluentd-gcs:${{ env.VERSION }} - build-args: "FLUENTD_VERSION=${{ env.VERSION }},PLUGIN_GCS_VERSION=${{ env.PLUGIN_GCS_VERSION }}" + build-args: | + FLUENTD_VERSION=${{ env.VERSION }} + PLUGIN_GCS_VERSION=${{ env.PLUGIN_GCS_VERSION }}"