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