项目
在 GitHub 查看
peter-evans/docker-compose-actions-workflow
关于
使用 Docker Compose 构建和测试多容器堆栈的 GitHub Actions 工作流示例
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文docker-compose-actions-workflow
This is a GitHub Actions workflow example to demonstrate building and testing a multi-container stack using docker-compose.
This sample is based on the Get started with Docker Compose documentation.
GitHub Actions Workflow
push.yml
name: Docker Compose Actions Workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose up -d
- name: Test
run: docker run --network container:webapp-frontend appropriate/curl -s --retry 10 --retry-connrefused http://localhost:5000/
You can browse a run for this example here.
For more about testing containers before release see Smoke Testing.
License
探索相关项目
加载中…