34 lines
603 B
YAML
34 lines
603 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: update submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule init
|
|
- git submodule update
|
|
|
|
- name: run update.sh
|
|
image: alpine/git
|
|
commands:
|
|
- sh update.sh
|
|
|
|
- name: build 16.0 image
|
|
image: plugins/docker
|
|
settings:
|
|
context: 16.0/unit
|
|
repo: eumau/nextcloud
|
|
tags:
|
|
- 16.0
|
|
- latest
|
|
- 16.0-unit
|
|
- latest-unit
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
when:
|
|
branch:
|
|
- master
|