Sthope 422cfdd493
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2024-05-27 18:19:23 +02:00

28 lines
493 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: publish
image: plugins/docker
settings:
repo: sthopeless/${DRONE_REPO_NAME}
tags:
- latest
- ${DRONE_COMMIT_SHA}
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
branch:
- main
- master
# Define secrets for Docker Hub credentials
secrets:
- docker_username
- docker_password