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
|
- event: push
|
||||||
branch: woodpecker
|
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:
|
steps:
|
||||||
- name: code-tests
|
- name: code-tests
|
||||||
image: python:3.11.7-alpine
|
image: python:3.11.7-alpine
|
||||||
@ -29,12 +36,6 @@ steps:
|
|||||||
|
|
||||||
- name: gitops-commit
|
- name: gitops-commit
|
||||||
image: alpine/git
|
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:
|
commands:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user