service-ntfy/.drone.yml

45 lines
914 B
YAML
Raw Normal View History

2023-01-15 22:31:19 +00:00
---
kind: pipeline
2023-01-15 22:46:18 +00:00
ype: docker
2023-01-15 22:31:19 +00:00
name: default
2023-01-15 22:46:18 +00:00
environment:
DOCKERHUB_USERNAME:
from_secret: DOCKERHUB_USERNAME
DOCKERHUB_PASSWORD:
from_secret: DOCKERHUB_PASSWORD
2023-01-15 22:31:19 +00:00
steps:
- name: docker
image: plugins/docker
settings:
2023-01-15 22:46:18 +00:00
username: ${DOCKERHUB_USERNAME}
password: ${DOCKERHUB_PASSWORD}
repo: glenux/service-ntfy
tags: ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
- 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 22:46:18 +00:00
- name: docker
image: plugins/docker
settings:
username: ${DOCKERHUB_USERNAME}
password: ${DOCKERHUB_PASSWORD}
repo: glenux/service-ntfy
tags: latest
when:
branch:
- master
2023-01-15 22:31:19 +00:00
#