Update v0.37.1

This commit is contained in:
Stille 2021-08-04 21:25:42 +08:00
parent 41f4f21c53
commit 494c3b0dfb
6 changed files with 15 additions and 7 deletions

View File

@ -1,8 +1,9 @@
name: "build for docker"
# on: [push]
on:
workflow_dispatch:
push:
paths:
- 'Dockerfile'
jobs:
build:
@ -38,3 +39,10 @@ jobs:
--file ./Dockerfile . \
--tag $(echo "${DOCKER_USERNAME}" | tr '[:upper:]' '[:lower:]')/${{ github.event.repository.name }}:latest \
--tag $(echo "${DOCKER_USERNAME}" | tr '[:upper:]' '[:lower:]')/${{ github.event.repository.name }}:${TAG}
- name: Sync README.md
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
readme: "README.md"

View File

@ -1,7 +1,7 @@
FROM alpine:3.8
MAINTAINER Stille <stille@ioiox.com>
ENV FRP_VERSION 0.37.0
ENV FRP_VERSION 0.37.1
WORKDIR /
RUN set -xe && \

View File

@ -14,7 +14,7 @@ Font="\033[0m"
# variable
WORK_PATH=$(dirname $(readlink -f $0))
FRP_NAME=frpc
FRP_VERSION=0.37.0
FRP_VERSION=0.37.1
FRP_PATH=/usr/local/frp
if [ $(uname -m) = "x86_64" ]; then

View File

@ -14,7 +14,7 @@ Font="\033[0m"
# variable
WORK_PATH=$(dirname $(readlink -f $0))
FRP_NAME=frpc
FRP_VERSION=0.37.0
FRP_VERSION=0.37.1
FRP_PATH=/usr/local/frp
# 停止frpc

View File

@ -1,5 +1,5 @@
#!/bin/sh
FRP_VERSION="0.37.0"
FRP_VERSION="0.37.1"
REPO="stilleshan/frpc"
WORK_PATH=$(dirname $(readlink -f $0))

View File

@ -1,5 +1,5 @@
#!/bin/sh
FRP_VERSION="0.37.0"
FRP_VERSION="0.37.1"
REPO="stilleshan/frpc"
WORK_PATH=$(dirname $(readlink -f $0))