2020-07-09 07:47:27 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2021-01-02 09:56:44 +00:00
|
|
|
name: Docker image build
|
2020-07-09 07:47:27 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2021-01-02 10:02:46 +00:00
|
|
|
- master
|
2021-01-02 09:40:03 +00:00
|
|
|
|
|
|
|
environment:
|
2021-11-06 10:34:50 +00:00
|
|
|
FRP_VERSION: 0.38.0
|
2020-07-09 07:47:27 +00:00
|
|
|
|
|
|
|
steps:
|
2021-01-02 09:56:44 +00:00
|
|
|
- name: config
|
2021-01-02 09:40:03 +00:00
|
|
|
image: alpine
|
|
|
|
commands:
|
2021-01-02 09:42:42 +00:00
|
|
|
- echo -n "$FRP_VERSION,latest" > .tags
|
2021-01-02 09:56:44 +00:00
|
|
|
- sed -i -E "s/var_FRP_VERSION/$FRP_VERSION/" Dockerfile
|
2021-01-02 09:59:07 +00:00
|
|
|
- name: build
|
2020-07-09 07:47:27 +00:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2021-01-02 10:04:59 +00:00
|
|
|
repo: quackerd/frp
|