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