From e05e4fb5e5d95fe75e3eb17449979f6a59315290 Mon Sep 17 00:00:00 2001 From: Chris Plaatjes Date: Tue, 14 Feb 2023 14:48:38 -0500 Subject: [PATCH] Updated drone yaml --- .drone.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index bb8bee7..95434a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,26 @@ --- kind: pipeline type: docker -name: build-app +name: publish-bot steps: - name: build-dotnet image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - dotnet build + - 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 -steps: -- name: build-docker - image: docker:dind - volumes: - - name: dockersock - path: /var/run/docker.sock # Commented out until stuff actually works #trigger: