We do not plan to offer other Linux distributions. We recommend using Docker if you'd like to build using other distributions with the hosted runner images. Alternatively, you can leverageself-hosted runnersand fully customize your VM image to your needs. ...
Buildrunner allows you to build a Docker image using a standard Dockerfile. This is done using the top-level 'build' attribute in a step configuration. The value of the 'build' attribute can either be a single string value indicating the directory to use for the Docker build context (the...
3.编写 docker-compose.yml(有两个配置,一个是drone一个是drone-runner) version:'2'services:drone-server:image:drone/drone:1container_name:drone-server ports:-'10081:80'volumes:-/var/run/docker.sock:/var/run/docker.sock-/var/data/drone/:/var/lib/drone environment:-DRONE_GITHUB_CLIENT_ID=${...
name:buildon:[push]jobs:build:runs-on:ubuntu-lateststeps:-name:Checkoutuses:actions/checkout@v2-name:Build imagerun:make build-name:Login Registryuses:docker/login-action@v1with:registry:ghcr.iousername:${{github.repository_owner}}password:${{secrets.GHCR_TOKEN}}-name:Push imagerun:docker p...
工作流程日志包括指向准确运行器上预安装的工具的链接。 要在工作流日志中查找此信息,请扩展Set up job部分。 在该部分下,展开Runner Image部分。Included Software后面的链接将说明运行器上运行该工作流的预安装工具。 有关详细信息,请参阅“查看工作流程运行历史记录”。
Build and push the Docker image to the registry. Note This CI workflow runs a local analysis and evaluation of your image. To evaluate the image locally, you must ensure that the image is loaded the local image store of your runner. This comparison doesn't work if you push the image to...
runs-on:ubuntu-lateststeps:-name:DockerHub imageuses:docker://hello-world 常见的公开action库 比如常见的:checkout action、SetupPython等 checkout action 这是一个官方提供的action,如需要使用项目仓库中代码用来构建、测试等的,使用checkout action可以自动拉取项目仓库的代码。
jobs.<job_id>.container.image 使用jobs.<job_id>.container.image 定义要用作运行操作的容器的 Docker 映像。 值可以是 Docker Hub 映像名称或注册表名称。 jobs.<job_id>.container.credentials 如果映像的容器注册表需要身份验证才能拉取映像,可以使用 jobs.<job_id>.container.credentials 设置username ...
azure/k8s-create-secret在 Kubernetes 叢集中建立一般秘密或 Docker 登錄秘密。azure/k8s-create-secret azure/k8s-deploy將資訊清單部署至 Kubernetes 叢集。azure/k8s-deploy azure/k8s-lint驗證/lint 您的資訊清單檔案。azure/k8s-lint azure/setup-helm在執行器上安裝特定版本的 Helm 二進位檔。azure/setu...
azure/k8s-create-secret 在Kubernetes 叢集中建立一般秘密或 Docker 登錄秘密。 azure/k8s-create-secret azure/k8s-deploy 將資訊清單部署至 Kubernetes 叢集。 azure/k8s-deploy azure/k8s-lint 驗證/lint 您的資訊清單檔案。 azure/k8s-lint azure/setup-helm 在執行器上安裝特定版本的 Helm 二進位...