fix runs-on

This commit is contained in:
千里走单骑 2024-04-03 01:14:58 +08:00
parent b1fd0e54d4
commit 18265ca118
2 changed files with 6 additions and 8 deletions

View File

@ -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]

View File

@ -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."