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:
- name: Checkout
uses: https://gh.huoxue.store/actions/checkout@v3
uses: https://huoxue.link:12300/actions/checkout@v3
with:
fetch-depth: 0
- name: setup go
@ -55,28 +55,28 @@ jobs:
GITEA_TOKEN: ${{ secrets.TOKEN }}
- name: Set up 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
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
id: meta
uses: https://gh.huoxue.store/docker/metadata-action@v4
uses: https://huoxue.link:12300/docker/metadata-action@v4
with:
images: huoxue.link:12300/huoxue1/qinglong-go
images: registry.cn-hangzhou.aliyuncs.com/huoxue1/qinglong-go
tags: |
type=raw,value=latest
type=ref,event=tag
- name: Docker Login
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:
registry: huoxue.link:12300
registry: registry.cn-hangzhou.aliyuncs.com
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Build and push
id: docker_build
uses: https://gh.huoxue.store/docker/build-push-action@v3
uses: https://huoxue.link:12300/docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}