This commit is contained in:
parent
9b58fd248b
commit
78986799aa
1 changed files with 11 additions and 12 deletions
23
.drone.yml
23
.drone.yml
|
@ -2,18 +2,17 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build & publish
|
||||||
image: golang
|
image: plugins/docker
|
||||||
volumes:
|
settings:
|
||||||
- name: deps
|
registry: registry.boehm.sh
|
||||||
path: /go
|
repo: registry.boehm.sh/philipp/steamServer
|
||||||
commands:
|
tags: [ "${DRONE_COMMIT_SHA:0:7}","latest" ]
|
||||||
- go build
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
volumes:
|
password:
|
||||||
- name: deps
|
from_secret: docker_password
|
||||||
temp: {}
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
Reference in a new issue