File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,17 @@ steps:
1414 - export VERSION=$([ -z $CI_COMMIT_TAG ] && echo latest || echo $CI_COMMIT_TAG)-$(sed 's#/#-#g' <<< $CI_SYSTEM_PLATFORM)
1515 - echo $CONTAINER_PASSWORD | podman login $DRYCC_REGISTRY --username $CONTAINER_USERNAME --password-stdin > /dev/null 2>&1
1616 - make podman-build podman-immutable-push
17- secrets :
18- - codename
19- - dev_registry
20- - drycc_registry
21- - container_username
22- - container_password
17+ environment :
18+ CODENAME :
19+ from_secret : codename
20+ DEV_REGISTRY :
21+ from_secret : dev_registry
22+ DRYCC_REGISTRY :
23+ from_secret : drycc_registry
24+ CONTAINER_USERNAME :
25+ from_secret : container_username
26+ CONTAINER_PASSWORD :
27+ from_secret : container_password
2328 when :
2429 event :
2530 - push
Original file line number Diff line number Diff line change @@ -14,11 +14,15 @@ steps:
1414 - helm package -u charts/$${CI_REPO_NAME} --version $CHART_VERSION --app-version $APP_VERSION
1515 - echo $CONTAINER_PASSWORD | helm registry login $DRYCC_REGISTRY -u $CONTAINER_USERNAME --password-stdin
1616 - helm push $${CI_REPO_NAME}-$CHART_VERSION.tgz oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)
17- secrets :
18- - dev_registry
19- - drycc_registry
20- - container_username
21- - container_password
17+ environment :
18+ DEV_REGISTRY :
19+ from_secret : dev_registry
20+ DRYCC_REGISTRY :
21+ from_secret : drycc_registry
22+ CONTAINER_USERNAME :
23+ from_secret : container_username
24+ CONTAINER_PASSWORD :
25+ from_secret : container_password
2226 when :
2327 event :
2428 - push
Original file line number Diff line number Diff line change 88 commands :
99 - sed -i "s/{{project}}/$${CI_REPO_NAME}/g" .woodpecker/manifest.tmpl
1010 - sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest.tmpl
11- secrets :
12- - drycc_registry
11+ environment :
12+ DRYCC_REGISTRY :
13+ from_secret : drycc_registry
1314 when :
1415 event :
1516 - tag
Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ steps:
1212 image : bash
1313 commands :
1414 - make test
15- secrets :
16- - codename
17- - dev_registry
15+ environment :
16+ CODENAME :
17+ from_secret : codename
18+ DEV_REGISTRY :
19+ from_secret : dev_registry
1820 when :
1921 event :
2022 - push
You can’t perform that action at this time.
0 commit comments