From 8d0b974fe3caa7cc7b33d3cd5271d134e55ce7e6 Mon Sep 17 00:00:00 2001 From: BAK BYEONG JUN Date: Tue, 15 Apr 2025 13:48:36 +0000 Subject: [PATCH] init --- tasks/pypi/task.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tasks/pypi/task.yaml b/tasks/pypi/task.yaml index 3ed3461..9615775 100644 --- a/tasks/pypi/task.yaml +++ b/tasks/pypi/task.yaml @@ -25,13 +25,24 @@ spec: workspaces: - name: shared description: Workspace containing the built artifacts - + - name: nexus-credentials steps: - name: upload-to-pypi image: $(params.pythonImageName) env: - name: HOME value: /workspace/shared/$(params.home) + + - name: TWINE_USERNAME + valueFrom: + secretKeyRef: + name: nexus-credentials + key: username + - name: TWINE_PASSWORD + valueFrom: + secretKeyRef: + name: nexus-credentials + key: password script: | #!/usr/bin/env bash set -e