mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-09-26 23:05:55 +08:00
chore: commit for test git action
This commit is contained in:
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
@@ -27,11 +27,10 @@ jobs:
|
||||
go-version: 1.23.4
|
||||
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: runner.os−go−{ { hashFiles('**/go.sum') } }
|
||||
restore-keys: ${{ runner.os }}-go-
|
||||
key: ${{ runner.os }}−go−${{ hashFiles('**/go.sum') }}
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
@@ -84,7 +83,7 @@ jobs:
|
||||
- name: docker build
|
||||
if: success() && startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
tar -zxvf bin/m7s_linux_amd64.tar.gz
|
||||
tar -zxvf bin/m7s_v5_linux_amd64.tar.gz
|
||||
mv m7s monibuca_linux
|
||||
docker login -u langhuihui -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
docker build -t langhuihui/monibuca:v5 .
|
||||
|
Reference in New Issue
Block a user