This commit is contained in:
parent
580bfbc143
commit
e25009cd5f
@ -10,12 +10,7 @@ steps:
|
|||||||
- name: config
|
- name: config
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache jq curl
|
- sh tag.sh
|
||||||
- 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
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user