kind: pipeline type: docker name: Docker image build trigger: branch: - master 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") - echo -n "$VER,latest" > .tags - sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile - name: build image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: quackerd/frp