Files
YABA/.woodpecker.yaml
Carl Tibule 5ad3ebe40a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Fixed Dockerfile path
2024-03-21 23:41:36 -05:00

20 lines
679 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
dockerfile: ./API/YABA.API/Dockerfile
tags: ${CI_COMMIT_TAG}
username: ${gitea_yaba_registry_username}
password: ${gitea_yaba_registry_password}
registry: https://gitea.iwanaga.moe/cjtibule/YABA/packages