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 - name: config
image: alpine image: alpine
commands: commands:
- apk add --no-cache jq curl - sh tag.sh
- 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 - name: build
image: plugins/docker image: plugins/docker
settings: settings: