generated from fionn/ts-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
834 B
47 lines
834 B
2 years ago
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: build dev
|
||
|
|
||
|
steps:
|
||
|
- name: build and push image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
dockerfile: Dockerfile
|
||
|
registry: git.fsisp.de
|
||
|
repo: git.fsisp.de/fionn/isasure-wx
|
||
|
username:
|
||
|
from_secret: reg_username
|
||
|
password:
|
||
|
from_secret: reg_password
|
||
|
tags:
|
||
|
- dev
|
||
|
- '${DRONE_COMMIT:0:8}'
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- dev
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: build master
|
||
|
|
||
|
steps:
|
||
|
- name: build and push image
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
dockerfile: Dockerfile
|
||
|
registry: git.fsisp.de
|
||
|
repo: git.fsisp.de/fionn/isasure-wx
|
||
|
username:
|
||
|
from_secret: reg_username
|
||
|
password:
|
||
|
from_secret: reg_password
|
||
|
tags:
|
||
|
- latest
|
||
|
- '${DRONE_COMMIT:0:8}'
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|