Declarated containers instead of steps

This commit is contained in:
Marcin-Ramotowski
2025-07-20 11:55:57 +02:00
parent 31e5bab8a3
commit d1ab2ef79c

View File

@ -3,8 +3,7 @@ pipeline:
event: push
branch: woodpecker
steps:
- name: code-tests
code-tests:
image: python:3.11.7-alpine
commands:
- cd api
@ -13,7 +12,7 @@ pipeline:
- pip install -r requirements.txt pytest
- python3 -m pytest --junit-xml=pytest_junit.xml
- name: build-and-push
build-and-push:
image: marcin00.azurecr.io/azure-cli-docker:slim-bookworm
environment:
ACR_NAME: marcin00
@ -28,7 +27,7 @@ pipeline:
kubernetes:
runtimeClassName: sysbox-runc
- name: gitops-commit
gitops-commit:
image: alpine/git
environment:
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git