From e7eeeefa536dae02117fee535ce0778ab04e4e28 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 20 Oct 2024 23:12:52 -0400 Subject: [PATCH] Add back in docker targets. --- .webhook_bridge/pipeline-build-semver.yaml | 2 ++ .webhook_bridge/pipeline-format.yaml | 2 ++ .webhook_bridge/pipeline-rust-clippy.yaml | 2 ++ .webhook_bridge/pipeline-rust-test.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.webhook_bridge/pipeline-build-semver.yaml b/.webhook_bridge/pipeline-build-semver.yaml index f57208f..f444802 100644 --- a/.webhook_bridge/pipeline-build-semver.yaml +++ b/.webhook_bridge/pipeline-build-semver.yaml @@ -146,6 +146,8 @@ spec: value: $(params.path-to-dockerfile) - name: EXTRA_ARGS value: + - "--opt" + - "target=$(params.target-name)" - --import-cache - "type=registry,ref=$(params.image-name):buildcache" - --export-cache diff --git a/.webhook_bridge/pipeline-format.yaml b/.webhook_bridge/pipeline-format.yaml index 15ae558..eb1a184 100644 --- a/.webhook_bridge/pipeline-format.yaml +++ b/.webhook_bridge/pipeline-format.yaml @@ -114,6 +114,8 @@ spec: value: $(params.path-to-dockerfile) - name: EXTRA_ARGS value: + - "--opt" + - "target=$(params.target-name)" - --import-cache - "type=registry,ref=$(params.image-name):buildcache" - --export-cache diff --git a/.webhook_bridge/pipeline-rust-clippy.yaml b/.webhook_bridge/pipeline-rust-clippy.yaml index c6fd125..6af8b05 100644 --- a/.webhook_bridge/pipeline-rust-clippy.yaml +++ b/.webhook_bridge/pipeline-rust-clippy.yaml @@ -114,6 +114,8 @@ spec: value: $(params.path-to-dockerfile) - name: EXTRA_ARGS value: + - "--opt" + - "target=$(params.target-name)" - --import-cache - "type=registry,ref=$(params.image-name):buildcache" - --export-cache diff --git a/.webhook_bridge/pipeline-rust-test.yaml b/.webhook_bridge/pipeline-rust-test.yaml index f45af88..43c3697 100644 --- a/.webhook_bridge/pipeline-rust-test.yaml +++ b/.webhook_bridge/pipeline-rust-test.yaml @@ -114,6 +114,8 @@ spec: value: $(params.path-to-dockerfile) - name: EXTRA_ARGS value: + - "--opt" + - "target=$(params.target-name)" - --import-cache - "type=registry,ref=$(params.image-name):buildcache" - --export-cache