5 Commits

Author SHA1 Message Date
9d59359074 Attempting to fix error authentication to container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2024-03-21 23:38:41 -05:00
c23ffc3fd8 Changed CI pipeline to accomodate non master tags
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2024-03-21 23:33:10 -05:00
fe57aca2f7 Changed step name to attempt fix CI pipeline 2024-03-21 23:27:45 -05:00
e61e8fb898 Fixing CI error for Docker image deployment 2024-03-21 23:25:48 -05:00
afe04ec68b Added deploy step for API Dockerfile 2024-03-21 23:19:34 -05:00

View File

@ -1,6 +1,21 @@
steps:
- name: BuildAPI
- name: (YABA.API) Build and run tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- dotnet build ./API
- dotnet test ./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