This commit is contained in:
+4
-5
@@ -1,11 +1,10 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: kubernetes
|
||||||
name: test
|
name: test
|
||||||
steps:
|
steps:
|
||||||
- name: test-secret
|
- name: test-secret
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
|
||||||
GITEA_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
commands:
|
commands:
|
||||||
- echo "token loaded"
|
- echo $GITEA_TOKEN
|
||||||
|
environment:
|
||||||
|
GITEA_TOKEN: test123
|
||||||
Reference in New Issue
Block a user