-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.drone.yml
More file actions
43 lines (38 loc) · 846 Bytes
/
.drone.yml
File metadata and controls
43 lines (38 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
pull: always
image: python:3.11
commands:
- pip install -U -r requirements.dev.txt
- make lint
- make full-test
environment:
DJANGO_SETTINGS_MODULE: django_project.settings.test
ZINC_AWS_KEY:
from_secret: ZINC_AWS_KEY
ZINC_AWS_SECRET:
from_secret: ZINC_AWS_SECRET
ZINC_SECRET_KEY: not-so-secret
- name: publish-docker-image
pull: if-not-exists
image: plugins/docker
settings:
build_args:
- release="${DRONE_COMMIT_SHA:0:7}"
repo: presslabs/zinc
tags:
- ${DRONE_BRANCH/master/latest}
- ${DRONE_COMMIT_SHA:0:7}
username: presslabsbot
password:
from_secret: DOCKERHUB_TOKEN
---
kind: signature
hmac: 151963db3d5e1083b6031e207942b9377404e280f088752af9daabf9599b1b07
...