diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 418ad5a..6e9a241 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -19,8 +19,7 @@ env: jobs: build: - runs-on: k8s # <-- Used runner label - container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401 + runs-on: ubuntu-latest steps: # - name: 环境检测 # run: | @@ -68,8 +67,8 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} gtiops: - runs-on: k8s # <-- Used runner label - container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401 + runs-on: ubuntu-latest + if: ${{ success() }} needs: [build] @@ -86,8 +85,7 @@ jobs: token: ${{ secrets.GITOPS_TOKEN }} 微信通知: - runs-on: k8s # <-- Used runner label - container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401 + runs-on: ubuntu-latest if: ${{success()}} needs: [build, gtiops] diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a9134e8..cbe598a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -9,8 +9,8 @@ env: DOMAIN: gitea.lntu.edu.cn jobs: Explore-Gitea-Actions: - runs-on: k8s # <-- Used runner label - container: ubuntu + runs-on: ubuntu-latest + # container: ${{ env.DOMAIN }}/youling/devops steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."