Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
quackerd 2022-06-20 01:44:30 +00:00
parent 0259e11922
commit 80b133d682

View File

@ -6,15 +6,13 @@ trigger:
branch: branch:
- master - master
environment:
FRP_VERSION: 0.43.0
steps: steps:
- name: config - name: config
image: alpine image: alpine
commands: commands:
- echo -n "$FRP_VERSION,latest" > .tags - VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
- sed -i -E "s/var_FRP_VERSION/$FRP_VERSION/" Dockerfile - 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: