Skip to content

Commit 5b99a19

Browse files
committed
fix(wooddpecker): secsets are deprecated
1 parent 68acf15 commit 5b99a19

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.woodpecker.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)