docker-frp/.drone.yml
quackerd 12ecdd19d4
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2022-06-20 01:51:07 +00:00

27 lines
603 B
YAML

kind: pipeline
type: docker
name: Docker image build
trigger:
branch:
- master
steps:
- name: config
image: alpine
commands:
- apk add --no-cache jq curl
- VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
- 'VER="${VER:1}"'
- echo $VER
- echo -n "$VER,latest" > .tags
- sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile
- name: build
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: quackerd/frp