Merge pull request #3 from synebula/dev

fix work flow bug
This commit is contained in:
synebula 2023-04-20 16:06:25 +08:00 committed by GitHub
commit 9c0000e3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -41,5 +41,4 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
push: true push: true
tags: | tags: |
${{ secrets.DOCKER_USERNAME }}/frps:latest ${{ secrets.DOCKERHUB_USERNAME }}/frps:${{ env.TAG_NAME }}
${{ secrets.DOCKER_USERNAME }}/frps:${{ env.TAG_NAME }}

View File

@ -7,7 +7,7 @@ COPY ./web/frps/package.json .
RUN npm install --no-audit --progress=false --prefer-offline RUN npm install --no-audit --progress=false --prefer-offline
COPY ./web/frps/ . COPY ./web/frps/ .
RUN npm install && npm build RUN npm install && npm run build
# step 2: build frps # step 2: build frps
FROM golang:1.20 AS building FROM golang:1.20 AS building