docker-frp/.drone.yml
quackerd 30f8d2b8fd
All checks were successful
continuous-integration/drone/push Build is passing
0.36.1
2021-03-18 06:29:11 +00:00

26 lines
475 B
YAML

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