💚 setup docker

pull/548/head
微凉 2021-11-04 13:34:10 +08:00
parent bfec01e837
commit 1a3b931727
2 changed files with 10 additions and 7 deletions

View File

@ -15,11 +15,19 @@ jobs:
name: Build
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Setup docker
uses: docker-practice/actions-setup-docker@master
- name: Checkout
uses: actions/checkout@v2
with:
@ -33,11 +41,6 @@ jobs:
ref: v2
path: alist-web
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Set up xgo
run: |
docker pull techknowlogick/xgo:latest

View File

@ -9,7 +9,7 @@ gitCommit=$(git log --pretty=format:"%h" -1)
if [ "$1" == "release" ]; then
gitTag=$(git describe --abbrev=0 --tags)
else
gitTag="beta"
gitTag=$(git describe --abbrev=0 --tags)-next
fi
ldflags="\