iot-platform-emulator/.drone.yml

29 lines
645 B
YAML
Raw Normal View History

2021-11-19 02:10:04 +01:00
kind: pipeline
type: docker
name: default
steps:
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host:
from_secret: SONAR_HOST
sonar_token:
from_secret: SONAR_CODE
2022-01-31 23:08:46 +01:00
- name: dockerhub
2022-01-31 23:33:05 +01:00
image: plugins/docker
settings:
repo: birbnetes/${DRONE_REPO_NAME}
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASSWORD
tags:
- latest
- ${DRONE_BUILD_NUMBER}
2021-11-19 02:10:04 +01:00
- name: ms-teams
image: kuperiu/drone-teams
settings:
webhook:
from_secret: TEAMS_WEBHOOK
when:
status: [ failure ]