codeberg-pages-deploy/.drone.yml

23 lines
417 B
YAML
Raw Normal View History

2022-07-17 18:28:14 +02:00
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
2022-07-17 19:34:50 +02:00
- ./scripts/build.sh
2022-07-17 18:28:14 +02:00
- go test ./...
- name: publish
image: plugins/docker
settings:
2022-07-17 19:25:22 +02:00
registry: git.dorian.im
2022-07-17 18:28:14 +02:00
repo: itsblue.dev/plugins/codeberg-pages-deploy
auto_tag: true
dockerfile: docker/Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password