drone config to build a base php image

This commit is contained in:
2022-06-07 10:16:24 +02:00
parent cc4152a99d
commit e758978c48
3 changed files with 112 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
---
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