-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
39 lines (35 loc) · 834 Bytes
/
.drone.yml
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
kind: pipeline
type: docker
name: default
steps:
- name: Build image
image: plugins/docker
settings:
repo: stiforr/pyfa
tags:
- latest
- build.${DRONE_BUILD_NUMBER}
dry_run: false
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
# - name: Shellcheck
# image: koalaman/shellcheck:stable
# commands:
# - shellcheck scripts/*
# - name: Docker image size
# image: wagoodman/dive
# commands:
# - dive --highestUserWastedPercent "0.75" --lowestEfficiency "0.75" stiforr/pyfa:latest
- name: Release
image: node
commands:
- yarn install
- yarn semantic-release
environment:
GH_TOKEN:
from_secret: GH_TOKEN
depends_on:
- "Build image"