Files
YABA/.woodpecker.yaml
2024-03-25 22:18:27 -05:00

21 lines
706 B
YAML

steps:
- name: (YABA.API) Build and run tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- dotnet build ./API
- dotnet test ./API
- name: (YABA.API) Deploy Docker Image (Non-Prod Branch)
when:
- event: tag
branch:
exclude: [master]
secrets: [gitea_yaba_registry_username, gitea_yaba_registry_password]
image: woodpeckerci/plugin-docker-buildx
settings:
repo: yaba/api
context: ./API
dockerfile: ./API/YABA.API/Dockerfile
tags: ${CI_COMMIT_TAG, gitea.iwanaga.moe/cjtibule/yaba/api}
username: ${gitea_yaba_registry_username}
password: ${gitea_yaba_registry_password}
registry: gitea.iwanaga.moe