docker-frp/.drone.yml
quackerd 0f9a015e6c
All checks were successful
continuous-integration/drone/push Build is passing
0.38.0
2021-11-06 10:34:50 +00:00

26 lines
475 B
YAML

kind: pipeline
type: docker
name: Docker image build
trigger:
branch:
- master
environment:
FRP_VERSION: 0.38.0
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