This commit is contained in:
parent
1d3075c7d7
commit
a48e2f9c6c
@ -12,6 +12,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apk add --no-cache jq curl
|
- apk add --no-cache jq curl
|
||||||
- VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
|
- VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
|
||||||
|
- VER="${VER:1}"
|
||||||
- echo -n "$VER,latest" > .tags
|
- echo -n "$VER,latest" > .tags
|
||||||
- sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile
|
- sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile
|
||||||
- name: build
|
- name: build
|
||||||
|
Loading…
Reference in New Issue
Block a user