2021-04-09 06:11:39 -06:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2021-06-03 01:50:05 -06:00
|
|
|
name: release-stable-version
|
2021-04-09 06:11:39 -06:00
|
|
|
|
|
|
|
steps:
|
2021-04-19 03:44:30 -06:00
|
|
|
- name: build stable proxy container
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
dockerfile: docker/proxy/Dockerfile
|
|
|
|
repo: keyoxide/doip-proxy
|
|
|
|
tags: stable
|
|
|
|
- name: build tag proxy container
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
dockerfile: docker/proxy/Dockerfile
|
|
|
|
repo: keyoxide/doip-proxy
|
|
|
|
auto_tag: true
|
2021-06-03 01:50:05 -06:00
|
|
|
- name: publish on npm
|
|
|
|
image: plugins/npm
|
|
|
|
settings:
|
|
|
|
username: yarmo_eu
|
|
|
|
password:
|
|
|
|
from_secret: npm_password
|
|
|
|
email:
|
|
|
|
from_secret: npm_email
|
2021-04-09 06:11:39 -06:00
|
|
|
|
|
|
|
trigger:
|
2021-04-19 03:44:30 -06:00
|
|
|
event:
|
|
|
|
- tag
|
2021-04-09 06:11:39 -06:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2021-06-03 01:50:05 -06:00
|
|
|
name: release-dev-version
|
2021-04-09 06:11:39 -06:00
|
|
|
|
|
|
|
steps:
|
2021-04-19 03:44:30 -06:00
|
|
|
- name: build dev proxy container
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
dockerfile: docker/proxy/Dockerfile
|
|
|
|
repo: keyoxide/doip-proxy
|
|
|
|
tags: dev
|
2021-04-09 06:11:39 -06:00
|
|
|
|
|
|
|
trigger:
|
2021-04-19 03:44:30 -06:00
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|