fix ci
This commit is contained in:
parent
e167400531
commit
8bc1bd89a4
|
@ -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/*/*
|
||||
|
|
Loading…
Reference in New Issue