Moved environment variables to global context
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Marcin-Ramotowski
2025-07-21 23:04:08 +02:00
parent 72aafa0bf9
commit 2c17e8c66e

View File

@ -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