mirror of
https://github.com/drone-plugins/drone-docker.git
synced 2026-06-04 10:15:30 +08:00
Update pipeline drone-docker-harness
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user