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
|
||||
name: default
|
||||
steps:
|
||||
- name: build
|
||||
image: golang
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go build
|
||||
|
||||
volumes:
|
||||
- name: deps
|
||||
temp: {}
|
||||
|
||||
- name: build & publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.boehm.sh
|
||||
repo: registry.boehm.sh/philipp/steamServer
|
||||
tags: [ "${DRONE_COMMIT_SHA:0:7}","latest" ]
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
|
|
Reference in a new issue