From 55e95e422e519af8c54c4340ce9ace9bb4bee710 Mon Sep 17 00:00:00 2001 From: Brett Hoerner Date: Wed, 7 Feb 2024 08:36:52 -0700 Subject: [PATCH] Actions docker build: change build-args to a newline delimited string --- .github/workflows/docker-capture.yml | 4 +++- .github/workflows/docker-hook-api.yml | 4 +++- .github/workflows/docker-hook-janitor.yml | 4 +++- .github/workflows/docker-hook-worker.yml | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-capture.yml b/.github/workflows/docker-capture.yml index 4426828..75a94e5 100644 --- a/.github/workflows/docker-capture.yml +++ b/.github/workflows/docker-capture.yml @@ -69,7 +69,9 @@ jobs: platforms: linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max - build-args: RUST_BACKTRACE=1 BIN=capture-server + build-args: | + "RUST_BACKTRACE=1" + "BIN=capture-server" - name: Capture image digest run: echo ${{ steps.docker_build_capture.outputs.digest }} diff --git a/.github/workflows/docker-hook-api.yml b/.github/workflows/docker-hook-api.yml index 4df1eb6..57e603c 100644 --- a/.github/workflows/docker-hook-api.yml +++ b/.github/workflows/docker-hook-api.yml @@ -69,7 +69,9 @@ jobs: platforms: linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max - build-args: RUST_BACKTRACE=1 BIN=hook-api + build-args: | + "RUST_BACKTRACE=1" + "BIN=hook-api" - name: Hook-api image digest run: echo ${{ steps.docker_build_hook_api.outputs.digest }} diff --git a/.github/workflows/docker-hook-janitor.yml b/.github/workflows/docker-hook-janitor.yml index 0894d45..98fc737 100644 --- a/.github/workflows/docker-hook-janitor.yml +++ b/.github/workflows/docker-hook-janitor.yml @@ -69,7 +69,9 @@ jobs: platforms: linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max - build-args: RUST_BACKTRACE=1 BIN=hook-janitor + build-args: | + "RUST_BACKTRACE=1" + "BIN=hook-janitor" - name: Hook-janitor image digest run: echo ${{ steps.docker_build_hook_janitor.outputs.digest }} diff --git a/.github/workflows/docker-hook-worker.yml b/.github/workflows/docker-hook-worker.yml index 2568f5e..9604d08 100644 --- a/.github/workflows/docker-hook-worker.yml +++ b/.github/workflows/docker-hook-worker.yml @@ -69,7 +69,9 @@ jobs: platforms: linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max - build-args: RUST_BACKTRACE=1 BIN=hook-worker + build-args: | + "RUST_BACKTRACE=1" + "BIN=hook-worker" - name: Hook-worker image digest run: echo ${{ steps.docker_build_hook_worker.outputs.digest }}