Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit f3fa28b

Browse files
committed
Add drone
1 parent 8530cd0 commit f3fa28b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.drone.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
kind: pipeline
3+
name: default
4+
5+
platform:
6+
os: linux
7+
arch: amd64
8+
9+
workspace:
10+
base: /go
11+
path: src/github.com/packethost/cluster-api-provider-packet
12+
13+
steps:
14+
- name: test
15+
pull: always
16+
image: golang:1.12.7-alpine
17+
commands:
18+
- apk --update add make git
19+
- make ci
20+
21+
- name: publish-amd64
22+
pull: always
23+
image: plugins/docker
24+
settings:
25+
context: .
26+
dockerfile: Dockerfile
27+
password:
28+
from_secret: docker_password
29+
repo: packethost/metabot
30+
tags:
31+
- "${DRONE_COMMIT}"
32+
- latest
33+
username:
34+
from_secret: docker_username
35+
when:
36+
event:
37+
exclude:
38+
- pull_request

0 commit comments

Comments
 (0)