fix runs-on
This commit is contained in:
parent
b1fd0e54d4
commit
18265ca118
|
@ -19,8 +19,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: k8s # <-- Used runner label
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401
|
|
||||||
steps:
|
steps:
|
||||||
# - name: 环境检测
|
# - name: 环境检测
|
||||||
# run: |
|
# run: |
|
||||||
|
@ -68,8 +67,8 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
gtiops:
|
gtiops:
|
||||||
runs-on: k8s # <-- Used runner label
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401
|
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|
||||||
|
@ -86,8 +85,7 @@ jobs:
|
||||||
token: ${{ secrets.GITOPS_TOKEN }}
|
token: ${{ secrets.GITOPS_TOKEN }}
|
||||||
|
|
||||||
微信通知:
|
微信通知:
|
||||||
runs-on: k8s # <-- Used runner label
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.m.daocloud.io/catthehacker/ubuntu:custom-20.04-20240401
|
|
||||||
if: ${{success()}}
|
if: ${{success()}}
|
||||||
needs: [build, gtiops]
|
needs: [build, gtiops]
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@ env:
|
||||||
DOMAIN: gitea.lntu.edu.cn
|
DOMAIN: gitea.lntu.edu.cn
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: k8s # <-- Used runner label
|
runs-on: ubuntu-latest
|
||||||
container: ubuntu
|
|
||||||
# container: ${{ env.DOMAIN }}/youling/devops
|
# container: ${{ env.DOMAIN }}/youling/devops
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
|
Loading…
Reference in New Issue