Files
YABA/.woodpecker.yaml
Carl Tibule c23ffc3fd8
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
Changed CI pipeline to accomodate non master tags
2024-03-21 23:33:10 -05:00

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