fix(release): github action runner

This commit is contained in:
henry.chen
2021-10-26 16:17:50 +08:00
parent 2b6bae1f74
commit 82fba0ddb4
2 changed files with 10 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ on:
jobs:
package:
runs-on: ubuntu-16.04
runs-on: self-hosted
steps:
- name: Golang env
uses: actions/setup-go@v2
@@ -35,6 +35,8 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKER_USERNAME }}
- name: Build image
env:
GOPROXY: https://goproxy.io,direct
run: scripts/run_build.sh deepzz0 ${{ steps.vars.outputs.tag }}
- name: Package tar
@@ -44,6 +46,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPROXY: https://goproxy.io,direct
with:
files: |
*.tar.gz