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.
48 lines
848 B
48 lines
848 B
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
|
|
- develop
|
|
|
|
---
|
|
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
|