Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
quackerd 2022-06-20 01:52:19 +00:00
parent 580bfbc143
commit e25009cd5f

View File

@ -10,12 +10,7 @@ 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
- sh tag.sh
- name: build
image: plugins/docker
settings: