service-ntfy/.drone.yml

42 lines
958 B
YAML
Raw Normal View History

2023-01-15 22:31:19 +00:00
---
kind: pipeline
2023-01-15 22:57:47 +00:00
type: docker
2023-01-15 22:31:19 +00:00
name: default
steps:
- name: docker
image: plugins/docker
2023-01-15 23:04:47 +00:00
pull: never
2023-01-15 22:31:19 +00:00
settings:
2023-01-15 23:04:47 +00:00
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
2023-01-15 22:46:18 +00:00
repo: glenux/service-ntfy
2023-01-15 23:09:28 +00:00
tags: "${DRONE_COMMIT_SHA:0:8}"
2023-01-15 22:46:18 +00:00
2023-01-15 23:04:47 +00:00
# - name: docker
# image: plugins/docker
# settings:
# username: "${DOCKERHUB_USERNAME}"
# password: "${DOCKERHUB_PASSWORD}"
# repo: glenux/service-ntfy
# tags: "latest_${DRONE_BRANCH//\//}"
# when:
# branch:
# - master
# - develop
# - feature/*
2023-01-15 22:31:19 +00:00
2023-01-15 23:04:47 +00:00
# - name: docker
# image: plugins/docker
# settings:
# username: "${DOCKERHUB_USERNAME}"
# password: "${DOCKERHUB_PASSWORD}"
# repo: glenux/service-ntfy
# tags: latest
# when:
# branch:
2023-01-15 23:09:59 +00:00
# - master
2023-01-15 22:31:19 +00:00
#