27 lines
545 B
YAML
27 lines
545 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: build-base-image
|
||
|
image_pull_secrets:
|
||
|
- dockerconfig
|
||
|
trigger:
|
||
|
event:
|
||
|
- cron
|
||
|
cron:
|
||
|
- base-image
|
||
|
|
||
|
steps:
|
||
|
- name: build-base-image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: docker_username
|
||
|
password:
|
||
|
from_secret: docker_password
|
||
|
repo: chill/base-image
|
||
|
tag: latest
|
||
|
target: chill_base_php
|
||
|
pull_image: true
|
||
|
cache_from:
|
||
|
- chill/base-image:latest
|