This commit is contained in:
parent
ce8db2117f
commit
f8700851d5
28
.drone.yml
28
.drone.yml
@ -5,33 +5,6 @@ type: 'kubernetes'
|
||||
|
||||
steps:
|
||||
|
||||
# build and publish
|
||||
- image: 'plugins/docker'
|
||||
name: 'publish'
|
||||
pull: 'always'
|
||||
settings:
|
||||
|
||||
# registery and repos
|
||||
registry: 'docker.io'
|
||||
repo: 'rakepanorama/start-simoncor-net'
|
||||
mtu: '1400'
|
||||
|
||||
# build stuff
|
||||
dockerfile: 'Dockerfile.linux.amd64'
|
||||
daemon_off: 'false'
|
||||
|
||||
# authentication
|
||||
username:
|
||||
from_secret: 'docker_username'
|
||||
password:
|
||||
from_secret: 'docker_password'
|
||||
|
||||
# tags
|
||||
tags:
|
||||
- 'v1.0'
|
||||
- 'latest'
|
||||
|
||||
|
||||
# deploy to kubernetes
|
||||
- image: 'docker.io/bitnami/kubectl:1.26.3'
|
||||
name: 'deploy'
|
||||
@ -42,4 +15,5 @@ steps:
|
||||
|
||||
commands:
|
||||
- 'echo $KUBE_CONFIG > $HOME/.kube/config'
|
||||
- 'cat $HOME/.kube/config'
|
||||
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '
|
||||
|
Loading…
Reference in New Issue
Block a user