22 lines
413 B
YAML
22 lines
413 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: Docker image build
|
|
trigger:
|
|
branch:
|
|
- master
|
|
environment:
|
|
VERSION: 2.6.2
|
|
steps:
|
|
- name: config
|
|
image: alpine
|
|
commands:
|
|
- echo -n "$VERSION,latest" > .tags
|
|
- name: build
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: quackerd/sharelatex
|
|
|