diff --git a/.webhook_bridge/pipeline-build-homepage-staging.yaml b/.webhook_bridge/pipeline-build-homepage-staging.yaml index d4e9caa..46bbf2d 100644 --- a/.webhook_bridge/pipeline-build-homepage-staging.yaml +++ b/.webhook_bridge/pipeline-build-homepage-staging.yaml @@ -136,6 +136,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-build-homepage.yaml b/.webhook_bridge/pipeline-build-homepage.yaml index cd888d1..63a15e9 100644 --- a/.webhook_bridge/pipeline-build-homepage.yaml +++ b/.webhook_bridge/pipeline-build-homepage.yaml @@ -148,6 +148,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