From a6ed4e0fb038a0c791f4efbfdee06685944d5806 Mon Sep 17 00:00:00 2001 From: "raghav.gupta@harness.io" Date: Tue, 7 Apr 2026 14:21:04 +0530 Subject: [PATCH] Update pipeline drone-docker-harness --- .harness/harness.yaml | 143 ++++++++++++++++++++++++++++-------------- 1 file changed, 96 insertions(+), 47 deletions(-) diff --git a/.harness/harness.yaml b/.harness/harness.yaml index a3dbb0b..6420353 100644 --- a/.harness/harness.yaml +++ b/.harness/harness.yaml @@ -398,53 +398,102 @@ pipeline: - gar - ecr - acr - - step: - type: Plugin - name: Build and Push on Tag - identifier: Docker_Build_and_Push1 - spec: - connectorRef: Plugins_Docker_Hub_Connector - image: plugins/docker - settings: - username: drone - password: <+secrets.getValue("Plugins_Docker_Hub_Pat")> - repo: plugins/<+matrix.repo> - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - auto_tag: "true" - auto_tag_suffix: windows-ltsc2022-amd64 - when: - stageStatus: Success - condition: <+codebase.build.type> == "tag" - strategy: - matrix: - repo: - - docker - - gcr - - gar - - ecr - - acr - - step: - type: BuildAndPushDockerRegistry - name: Build and Push on Branch - identifier: BuildAndPushDockerRegistry_2 - spec: - connectorRef: Plugins_Docker_Hub_Connector - repo: plugins/<+matrix.repo> - tags: - - windows-ltsc2022-amd64 - caching: false - dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 - when: - stageStatus: Success - condition: <+codebase.build.type> == "branch" - strategy: - matrix: - repo: - - docker - - gcr - - gar - - ecr - - acr + - parallel: + - step: + type: Plugin + name: Build and Push on Tag + identifier: Docker_Build_and_Push1 + spec: + connectorRef: Plugins_Docker_Hub_Connector + image: plugins/docker + settings: + username: drone + password: <+secrets.getValue("Plugins_Docker_Hub_Pat")> + repo: plugins/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + auto_tag: "true" + auto_tag_suffix: windows-ltsc2022-amd64 + when: + stageStatus: Success + condition: <+codebase.build.type> == "tag" + strategy: + matrix: + repo: + - docker + - gcr + - gar + - ecr + - acr + - step: + type: Plugin + name: RF Build and Push on Tag + identifier: RF_Build_and_Push_on_Tag + spec: + connectorRef: Plugins_Docker_Hub_Connector + image: plugins/docker + settings: + username: <+secrets.getValue("harnesssecureusername")> + password: <+secrets.getValue("dockerHarnessSecurePwd")> + repo: harnesssecure/<+matrix.repo> + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + auto_tag: "true" + auto_tag_suffix: windows-ltsc2022-amd64 + when: + stageStatus: Success + condition: <+codebase.build.type> == "tag" + strategy: + matrix: + repo: + - docker + - gcr + - gar + - ecr + - acr + - parallel: + - step: + type: BuildAndPushDockerRegistry + name: Build and Push on Branch + identifier: BuildAndPushDockerRegistry_2 + spec: + connectorRef: Plugins_Docker_Hub_Connector + repo: plugins/<+matrix.repo> + tags: + - windows-ltsc2022-amd64 + caching: false + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + when: + stageStatus: Success + condition: <+codebase.build.type> == "branch" + strategy: + matrix: + repo: + - docker + - gcr + - gar + - ecr + - acr + - step: + type: BuildAndPushDockerRegistry + name: RF Build and Push on Branch + identifier: rf_build_push_branch + spec: + connectorRef: harnesssecure + repo: harnesssecure/<+matrix.repo> + tags: + - windows-ltsc2022-amd64 + caching: false + dockerfile: docker/<+matrix.repo>/Dockerfile.windows.amd64.ltsc2022 + when: + stageStatus: Success + condition: <+codebase.build.type> == "branch" + strategy: + matrix: + repo: + - docker + - gcr + - gar + - ecr + - acr buildIntelligence: enabled: false - stage: