Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GitHub Actions workflow example using Docker Compose to build and test a multi-container stack

License

Notifications You must be signed in to change notification settings

peter-evans/docker-compose-actions-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-actions-workflow

Actions Status

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

MIT

About

GitHub Actions workflow example using Docker Compose to build and test a multi-container stack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.