membersystem/.drone.yml

28 lines
541 B
YAML
Raw Permalink Normal View History

2021-03-01 12:36:54 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: docker
image: plugins/docker
environment:
DJANGO_ENV: production
2022-08-09 13:50:38 +00:00
BUILD: "${DRONE_COMMIT_SHA}"
2021-03-01 12:36:54 +00:00
settings:
2022-11-24 22:55:01 +00:00
repo: docker.data.coop/membersystem
2021-03-01 12:36:54 +00:00
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
2022-08-09 14:26:31 +00:00
build_args_from_env:
- DJANGO_ENV
- BUILD
2021-03-01 12:36:54 +00:00
tags:
- "${DRONE_BUILD_NUMBER}"
2022-08-09 12:46:05 +00:00
- "latest"
2021-03-01 12:36:54 +00:00
when:
branch:
2022-08-09 11:53:39 +00:00
- main