telegram-ollama-reply-bot/.drone.yml
Alexey Skobkin 55b44d3207
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Making build and publish run in the same pipeline.
2024-03-10 05:36:44 +03:00

26 lines
427 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: build
image: 'golang:alpine'
commands:
- go build -x .
- name: publish-docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_LOGIN
password:
from_secret: DOCKER_TOKEN
repo:
from_secret: DOCKER_REPO
tags:
- ${DRONE_TAG}
- latest
when:
event:
- tag