ci: define global environment
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Glenn Y. Rolland 2023-01-16 00:13:23 +01:00
parent fb4a2f03d3
commit 2bb4135fa7

View file

@ -3,15 +3,19 @@ kind: pipeline
type: docker
name: default
environment:
DOCKERHUB_USERNAME:
from_secret: DOCKERHUB_USERNAME
DOCKERHUB_PASSWORD:
from_secret: DOCKERHUB_PASSWORD
steps:
- name: docker
image: plugins/docker
pull: never
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
username: "${DOCKERHUB_USERNAME}"
password: "${DOCKERHUB_PASSWORD}"
repo: glenux/service-ntfy
tags: "${DRONE_COMMIT_SHA:0:8}"