docker-frp/.drone.yml
quackerd 9215864ad9
All checks were successful
continuous-integration/drone/push Build is passing
0.36.2
2021-03-23 06:12:45 +00:00

26 lines
475 B
YAML

kind: pipeline
type: docker
name: Docker image build
trigger:
branch:
- master
environment:
FRP_VERSION: 0.36.2
steps:
- name: config
image: alpine
commands:
- echo -n "$FRP_VERSION,latest" > .tags
- sed -i -E "s/var_FRP_VERSION/$FRP_VERSION/" Dockerfile
- name: build
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: quackerd/frp