fix ci
CI / Build binary CI (push) Successful in 2h7m38s Details
CI / Build artifacts (push) Failing after 24m29s Details

This commit is contained in:
huoxue1 2023-10-07 00:21:21 +08:00
parent e167400531
commit 8bc1bd89a4
1 changed files with 7 additions and 7 deletions

View File

@ -53,13 +53,13 @@ jobs:
GITEA_TOKEN: ${{ secrets.TOKEN }}
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
uses: https://gh.huoxue.store/docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: https://gh.huoxue.store/docker/setup-buildx-action@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: https://gh.huoxue.store/docker/metadata-action@v4
with:
images: huoxue.link:12300/huoxue1/study_xxqg
tags: |
@ -67,14 +67,14 @@ jobs:
type=ref,event=tag
- name: Docker Login
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: https://gh.huoxue.store/docker/login-action@v2
with:
registry: huoxue.link:12300
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
uses: https://gh.huoxue.store/docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
@ -96,7 +96,7 @@ jobs:
with:
fetch-depth: 0
- name: setup go
uses: https://github.com/actions/setup-go@v4
uses: https://gh.huoxue.store/actions/setup-go@v4
with:
go-version: '1.20'
- name: Fetch all tags
@ -109,7 +109,7 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.TOKEN }}
- name: upload-artifact
uses: actions/upload-artifact@v3
uses: https://gh.huoxue.store/actions/upload-artifact@v3
with:
name: study_xxqg
path: dist/*/*