This commit is contained in:
parent
80b133d682
commit
f0a0801baf
@ -10,6 +10,7 @@ steps:
|
|||||||
- name: config
|
- name: config
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
|
- 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")
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user