docker-frp/.drone.yml

26 lines
482 B
YAML
Raw Normal View History

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 09:40:03 +00:00
- test
environment:
FRP_VERSION: 0.34.3
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 09:40:03 +00:00
repo: quackerd/private_test