From 5ddfda604d30357ba5e09413d5a0f2f0cd553287 Mon Sep 17 00:00:00 2001 From: iorebuild Date: Thu, 10 Apr 2025 20:07:21 +0800 Subject: [PATCH] Release v1.0.5 --- .gitea/workflows/AutoRelease.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/AutoRelease.yaml b/.gitea/workflows/AutoRelease.yaml index a9ac6d8..d52eb49 100644 --- a/.gitea/workflows/AutoRelease.yaml +++ b/.gitea/workflows/AutoRelease.yaml @@ -12,21 +12,20 @@ jobs: if: "contains(github.event.head_commit.message, 'Release')" steps: - - name: 检查本地是否已经有 ubuntu-latest 镜像 - id: check_ubuntu_image + - name: 检查本地是否已经有 gitea/runner-images:ubuntu-latest 镜像 + id: check_image run: | - if docker image inspect ubuntu:latest >/dev/null 2>&1; then - echo "Ubuntu latest image is already present locally. Skipping pull." + if docker image inspect gitea/runner-images:ubuntu-latest >/dev/null 2>&1; then + echo "gitea/runner-images:ubuntu-latest image is already present locally. Skipping pull." echo "should_pull=false" >> $GITEA_OUTPUT else - echo "Ubuntu latest image is not present locally. Will pull." + echo "gitea/runner-images:ubuntu-latest image is not present locally. Will pull." echo "should_pull=true" >> $GITEA_OUTPUT fi - # 本地没有镜像时,下载 ubuntu-latest - - name: 下载 ubuntu-latest 镜像 - if: steps.check_ubuntu_image.outputs.should_pull == 'true' - run: docker pull ubuntu:latest + - name: 下载 gitea/runner-images:ubuntu-latest 镜像 + if: steps.check_image.outputs.should_pull == 'true' + run: docker pull gitea/runner-images:ubuntu-latest - name: 替换软件源为国内软件源 run: |