This commit is contained in:
parent
0259e11922
commit
80b133d682
@ -6,15 +6,13 @@ trigger:
|
|||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
environment:
|
|
||||||
FRP_VERSION: 0.43.0
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: config
|
- name: config
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo -n "$FRP_VERSION,latest" > .tags
|
- VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
|
||||||
- sed -i -E "s/var_FRP_VERSION/$FRP_VERSION/" Dockerfile
|
- 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