This commit is contained in:
parent
580bfbc143
commit
e25009cd5f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user