Github 操作空间不足

问题描述 投票:0回答:1

我的 Github 操作最近开始空间不足。不幸的是,我在 Docker 容器中运行,所以我不确定我的选择是什么来返回主机并删除不必要的工具。

name: MyBuild
on:
  workflow_dispatch:
  workflow_call:

jobs:
  compile:
    name: Run Sonarqube
    runs-on: ubuntu-latest
    container:
      image: my_image:latest
    steps:
    - name: Free 
           //delete stuff on the host here
    - name: Checkout code
      uses: actions/checkout@v3
      with:

我见过的所有技巧都要求我能够在容器启动之前在主机上运行命令。

github-actions
1个回答
0
投票

如果您使用 GitHub Team 或 GitHub Enterprise Cloud 计划,您可以使用更大的运行器。他们提供

  • 更多 RAM、CPU 和磁盘空间
  • 静态IP地址
  • 对跑步者进行分组的能力
  • 自动缩放以支持并发工作流程

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.