[CI] Added docker build step back
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2023-03-28 14:47:33 +02:00
parent 77db8b751d
commit c2c6348de4

View File

@ -5,6 +5,33 @@ 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.1'
- 'latest'
# deploy to kubernetes
- image: 'docker.io/bitnami/kubectl'
name: 'deploy'