32 lines
544 B
YAML
32 lines
544 B
YAML
|
---
|
||
|
kind: 'pipeline'
|
||
|
name: 'build'
|
||
|
type: 'docker'
|
||
|
|
||
|
steps:
|
||
|
|
||
|
# build and publish
|
||
|
- image: 'plugins/docker'
|
||
|
name: 'publish'
|
||
|
pull: 'always'
|
||
|
settings:
|
||
|
|
||
|
# registery and repos
|
||
|
registry: 'docker.io'
|
||
|
cache_from: 'rakepanorama/start-simoncor-net'
|
||
|
repo: 'rakepanorama/start-simoncor-net'
|
||
|
|
||
|
# build stuff
|
||
|
dockerfile: 'Dockerfile.linux.amd64'
|
||
|
daemon_off: 'false'
|
||
|
|
||
|
# authentication
|
||
|
username:
|
||
|
from_secret: 'docker_username'
|
||
|
password:
|
||
|
from_secret: 'docker_password'
|
||
|
|
||
|
# tags
|
||
|
tags:
|
||
|
- 'latest'
|