Skip to content

blag/action-docker-compose

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A GitHub action to run docker-compose

You can find the image on Docker Hub

Docker Pulls

I use the base image docker/compose for this action

Example usages

  - uses: actions/checkout@v4
  - name: run docker-compose
    uses: blag/action-docker-compose@latest
    with:
        # https://docs.docker.com/compose/reference/overview/
        cli-args: "build"

  - name: run docker-compose
    uses: blag/action-docker-compose@latest
    with:
        # https://docs.docker.com/compose/reference/overview/
        cli-args: "run my_image"

  - name: run docker-compose
    uses: blag/action-docker-compose@latest
    with:
        # https://docs.docker.com/compose/reference/overview/
        cli-args: "up"

About

Run docker-compose within GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 62.8%
  • Makefile 28.9%
  • Shell 8.3%