Changed CI pipeline to accomodate non master tags
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
2024-03-21 23:33:10 -05:00
parent fe57aca2f7
commit c23ffc3fd8

View File

@ -4,16 +4,18 @@ steps:
commands: commands:
- dotnet build ./API - dotnet build ./API
- dotnet test ./API - dotnet test ./API
- name: (YABA.API) Deploy Docker Image - name: (YABA.API) Deploy Docker Image (Non-Prod Branch)
when: when:
- event: tag - event: tag
branch:
exclude: [master]
secrets: [gitea_yaba_registry_username, gitea_yaba_registry_password] secrets: [gitea_yaba_registry_username, gitea_yaba_registry_password]
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: yaba/api repo: yaba/api
context: ./API/YABA.API context: ./API/YABA.API
dockerfile: Dockerfile dockerfile: Dockerfile
tags: [latest, ${CI_COMMIT_TAG}] tags: ${CI_COMMIT_TAG}
username: $${gitea_yaba_registry_username} username: $${gitea_yaba_registry_username}
password: $${gitea_yaba_registry_password} password: $${gitea_yaba_registry_password}
registry: https://gitea.iwanaga.moe/cjtibule/YABA/packages registry: https://gitea.iwanaga.moe/cjtibule/YABA/packages