Skip to content

Commit 6b6332f

Browse files
committed
fix(wooddpecker): secsets are deprecated
1 parent bf24e96 commit 6b6332f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.woodpecker/publish-charts.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ steps:
1616
- echo $CONTAINER_PASSWORD | helm registry login $DRYCC_REGISTRY -u $CONTAINER_USERNAME --password-stdin
1717
- helm push $${CI_REPO_NAME}-$CHART_VERSION.tgz oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)
1818
- bash _scripts/generate_cache.sh
19-
secrets:
20-
- drycc_registry
21-
- container_username
22-
- container_password
19+
environment:
20+
DRYCC_REGISTRY:
21+
from_secret: drycc_registry
22+
CONTAINER_USERNAME:
23+
from_secret: container_username
24+
CONTAINER_PASSWORD:
25+
from_secret: container_password
2326
when:
2427
event:
2528
- tag

0 commit comments

Comments
 (0)