Moved environment variables to global context
Some checks failed
ci/woodpecker/push/build Pipeline failed
Some checks failed
ci/woodpecker/push/build Pipeline failed
This commit is contained in:
@ -2,6 +2,13 @@ when:
|
||||
- event: push
|
||||
branch: woodpecker
|
||||
|
||||
environment:
|
||||
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
|
||||
GITEA_DEPLOY_KEY:
|
||||
from_secret: gitea-deploy-key
|
||||
GITEA_KNOWN_HOST:
|
||||
from_secret: gitea-known-host
|
||||
|
||||
steps:
|
||||
- name: code-tests
|
||||
image: python:3.11.7-alpine
|
||||
@ -29,12 +36,6 @@ steps:
|
||||
|
||||
- name: gitops-commit
|
||||
image: alpine/git
|
||||
environment:
|
||||
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
|
||||
GITEA_DEPLOY_KEY:
|
||||
from_secret: gitea-deploy-key
|
||||
GITEA_KNOWN_HOST:
|
||||
from_secret: gitea-known-host
|
||||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
|
||||
|
Reference in New Issue
Block a user