From cf3730ae8f93fc8ac5fbb71b90654d49b1539013 Mon Sep 17 00:00:00 2001 From: huoxue Date: Fri, 10 May 2024 00:17:46 +0800 Subject: [PATCH] 231 --- .gitea/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5873e52..08dff29 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: # 持久化工具目录 steps: - name: Checkout - uses: https://huoxue.link:12300/actions/checkout@v3 + uses: https://huoxue.link:12300/actions/checkout@main with: fetch-depth: 0 - name: setup go @@ -55,13 +55,13 @@ jobs: GITEA_TOKEN: ${{ secrets.TOKEN }} - name: Set up QEMU id: qemu - uses: https://huoxue.link:12300/docker/setup-qemu-action@v2 + uses: https://huoxue.link:12300/docker/setup-qemu-action@master - name: Set up Docker Buildx id: buildx - uses: https://huoxue.link:12300/docker/setup-buildx-action@v2 + uses: https://huoxue.link:12300/docker/setup-buildx-action@master - name: Docker meta id: meta - uses: https://huoxue.link:12300/docker/metadata-action@v4 + uses: https://huoxue.link:12300/docker/metadata-action@master with: images: registry.cn-hangzhou.aliyuncs.com/huoxue1/qinglong-go tags: | @@ -69,14 +69,14 @@ jobs: type=ref,event=tag - name: Docker Login if: github.event_name != 'pull_request' - uses: https://huoxue.link:12300/docker/login-action@v2 + uses: https://huoxue.link:12300/docker/login-action@master with: registry: registry.cn-hangzhou.aliyuncs.com username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} - name: Build and push id: docker_build - uses: https://huoxue.link:12300/docker/build-push-action@v3 + uses: https://huoxue.link:12300/docker/build-push-action@master with: context: . push: ${{ github.event_name != 'pull_request' }}