Update pipeline drone-docker-harness

This commit is contained in:
raghav.gupta@harness.io
2026-04-07 14:21:04 +05:30
parent c5bbcaaff5
commit a6ed4e0fb0
+49
View File
@@ -398,6 +398,7 @@ pipeline:
- gar
- ecr
- acr
- parallel:
- step:
type: Plugin
name: Build and Push on Tag
@@ -423,6 +424,32 @@ pipeline:
- 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
@@ -445,6 +472,28 @@ pipeline:
- 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: