fix on k8s
This commit is contained in:
parent
22fbad3dd3
commit
0e04377dd5
|
@ -19,9 +19,8 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: k8s # <-- Used runner label
|
||||||
container:
|
container: ubuntu
|
||||||
image: ghcr.m.daocloud.io/catthehacker/ubuntu:act-latest
|
|
||||||
steps:
|
steps:
|
||||||
# - name: 环境检测
|
# - name: 环境检测
|
||||||
# run: |
|
# run: |
|
||||||
|
@ -69,7 +68,8 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
gtiops:
|
gtiops:
|
||||||
runs-on: ubuntu-latest
|
runs-on: k8s # <-- Used runner label
|
||||||
|
container: ubuntu
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|
||||||
|
@ -86,7 +86,8 @@ jobs:
|
||||||
token: ${{ secrets.GITOPS_TOKEN }}
|
token: ${{ secrets.GITOPS_TOKEN }}
|
||||||
|
|
||||||
微信通知:
|
微信通知:
|
||||||
runs-on: ubuntu-latest
|
runs-on: k8s # <-- Used runner label
|
||||||
|
container: ubuntu
|
||||||
if: ${{success()}}
|
if: ${{success()}}
|
||||||
needs: [build, gtiops]
|
needs: [build, gtiops]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: Gitea Actions Demo
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
# on: [push]
|
||||||
env:
|
env:
|
||||||
# DOCKER_REGISTRY: docker.io
|
# DOCKER_REGISTRY: docker.io
|
||||||
# DOCKER_USERNAME: softyouling
|
# DOCKER_USERNAME: softyouling
|
||||||
|
|
Loading…
Reference in New Issue