From 373dee430c03ff798e594c71e561998eeb6b912c Mon Sep 17 00:00:00 2001 From: juicer Date: Thu, 2 Jan 2025 21:47:39 -0800 Subject: [PATCH] add build args Signed-off-by: juicer --- .github/workflows/build-fb-image.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-fb-image.yaml b/.github/workflows/build-fb-image.yaml index 45737ffbd..ad6aea939 100644 --- a/.github/workflows/build-fb-image.yaml +++ b/.github/workflows/build-fb-image.yaml @@ -157,6 +157,7 @@ jobs: build-FluentBit-prod-image: needs: + - get-version - build-prod-image-metadata runs-on: ubuntu-latest timeout-minutes: 30 @@ -198,9 +199,12 @@ jobs: platforms: linux/amd64,linux/arm64 tags: ${{ needs.build-prod-image-metadata.outputs.tags }} labels: ${{ needs.build-prod-image-metadata.outputs.labels }} + build-args: | + FLUENT_BIT_BASE_VERSION=${{ needs.get-version.outputs.VERSION }} build-FluentBit-debug-image: needs: + - get-version - build-debug-image-metadata runs-on: ubuntu-latest timeout-minutes: 30 @@ -242,6 +246,8 @@ jobs: platforms: linux/amd64,linux/arm64 tags: ${{ needs.build-debug-image-metadata.outputs.tags }} labels: ${{ needs.build-debug-image-metadata.outputs.labels }} + build-args: | + FLUENT_BIT_BASE_VERSION=${{ needs.get-version.outputs.VERSION }} scan-FluentBit-image: name: Scan prod image