Changed CI pipeline to accomodate non master tags
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
This commit is contained in:
@ -4,16 +4,18 @@ steps:
|
||||
commands:
|
||||
- dotnet build ./API
|
||||
- dotnet test ./API
|
||||
- name: (YABA.API) Deploy Docker Image
|
||||
- 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: [latest, ${CI_COMMIT_TAG}]
|
||||
tags: ${CI_COMMIT_TAG}
|
||||
username: $${gitea_yaba_registry_username}
|
||||
password: $${gitea_yaba_registry_password}
|
||||
registry: https://gitea.iwanaga.moe/cjtibule/YABA/packages
|
||||
Reference in New Issue
Block a user