Update '.drone.yml'
continuous-integration/drone/push Build is failing Details

This commit is contained in:
quackerd 2022-06-20 01:44:30 +00:00
parent 0259e11922
commit 80b133d682
1 changed files with 3 additions and 5 deletions

View File

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