35 lines
730 B
YAML
35 lines
730 B
YAML
kind: pipeline
|
|
name: pi-temperature-monitoring
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: push-built-image
|
|
image: plugins/docker
|
|
settings:
|
|
context: app/
|
|
dockerfile: app/Dockerfile
|
|
registry: gitea.scubbo.org
|
|
repo: gitea.scubbo.org/scubbo/pi-temperature-monitoring
|
|
tags: ${DRONE_COMMIT_SHA:0:10}
|
|
debug: true
|
|
launch_debug: true
|
|
username: scubbo
|
|
password:
|
|
from_secret: gitea_password
|
|
settings:
|
|
mtu: 1450
|
|
- name: telegram_notification
|
|
image: appleboy/drone-telegram
|
|
settings:
|
|
token:
|
|
from_secret: telegram_token
|
|
to:
|
|
from_secret: telegram_convo_id
|
|
|
|
image_pull_secrets:
|
|
- dockerconfigjson
|