fix ci
CI / Build binary CI (push) Failing after 30m7s Details

This commit is contained in:
huoxue 2024-05-09 23:32:13 +08:00
parent e088ad6990
commit 020c7c0e55
1 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ jobs:
# 持久化工具目录 # 持久化工具目录
steps: steps:
- name: Checkout - name: Checkout
uses: https://gh.huoxue.store/actions/checkout@v3 uses: https://huoxue.link:12300/actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: setup go - name: setup go
@ -55,28 +55,28 @@ jobs:
GITEA_TOKEN: ${{ secrets.TOKEN }} GITEA_TOKEN: ${{ secrets.TOKEN }}
- name: Set up QEMU - name: Set up QEMU
id: qemu id: qemu
uses: https://gh.huoxue.store/docker/setup-qemu-action@v2 uses: https://huoxue.link:12300/docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: https://gh.huoxue.store/docker/setup-buildx-action@v2 uses: https://huoxue.link:12300/docker/setup-buildx-action@v2
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: https://gh.huoxue.store/docker/metadata-action@v4 uses: https://huoxue.link:12300/docker/metadata-action@v4
with: with:
images: huoxue.link:12300/huoxue1/qinglong-go images: registry.cn-hangzhou.aliyuncs.com/huoxue1/qinglong-go
tags: | tags: |
type=raw,value=latest type=raw,value=latest
type=ref,event=tag type=ref,event=tag
- name: Docker Login - name: Docker Login
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: https://gh.huoxue.store/docker/login-action@v2 uses: https://huoxue.link:12300/docker/login-action@v2
with: with:
registry: huoxue.link:12300 registry: registry.cn-hangzhou.aliyuncs.com
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- name: Build and push - name: Build and push
id: docker_build id: docker_build
uses: https://gh.huoxue.store/docker/build-push-action@v3 uses: https://huoxue.link:12300/docker/build-push-action@v3
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}