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