2023-02-13 17:52:25 -05:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-02-14 00:34:54 -05:00
|
|
|
type: docker
|
2023-02-14 14:48:38 -05:00
|
|
|
name: publish-bot
|
2023-02-13 17:52:25 -05:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-dotnet
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
2023-02-14 14:48:38 -05:00
|
|
|
- dotnet publish
|
|
|
|
|
|
|
|
- name: build-image
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: git.kizaing.ca
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USER
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASS
|
|
|
|
repo: git.kizaing.ca/kizaing/TeleTok
|
|
|
|
tags: latest
|
|
|
|
platform: linux/amd64,linux/arm64
|
2023-02-13 17:52:25 -05:00
|
|
|
|
|
|
|
|
2023-02-13 19:19:55 -05:00
|
|
|
# Commented out until stuff actually works
|
|
|
|
#trigger:
|
|
|
|
# branch:
|
|
|
|
# - main
|
|
|
|
# event:
|
|
|
|
# - push
|