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: