membersystem/.drone.yml
Víðir Valberg Guðmundsson a3643ca602
All checks were successful
continuous-integration/drone/push Build is passing
Push to a non-dotted repo.
2022-11-24 23:55:01 +01:00

28 lines
541 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: docker
image: plugins/docker
environment:
DJANGO_ENV: production
BUILD: "${DRONE_COMMIT_SHA}"
settings:
repo: docker.data.coop/membersystem
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
build_args_from_env:
- DJANGO_ENV
- BUILD
tags:
- "${DRONE_BUILD_NUMBER}"
- "latest"
when:
branch:
- main