bob/.drone.yml
Simon Petit bded553881
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
using token instead of pwd
2024-12-05 16:35:36 +01:00

28 lines
464 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Test
image: debian:12-slim
commands:
- apt-get update
- apt-get install -y make
- make test
- name: Build image
image: plugins/docker
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_token
registry:
from_secret: gitea_container_registry
repo:
from_secret: gitea_repo
auto_tag: true
when:
event:
- tag