Skip to content

belezyakov/publish_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

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Compose Publish

A GitHub Action that builds and publishes images built from docker-compose file.

Fork notice

This repository is fork from pennsignals/publish_docker-compose

Features

No need to manually build and publish each dockerfile.

Built image are being published to github packages after build.

Images are named after services name in docker-compose.yml file.

By default, published images are connected to the repository.

All images have git commit sha tag.

If your action runs on tag push, the image will be tagged with git tag.

For version tag you can set version input, which overrides git tags.

Last published image has latest tag.

Example Usage

    - name: Publish
      uses: belezyakov/publish_docker-compose@v1.0.2
      with:
        version: '1.0.0' # optional
        docker_compose: 'docker-compose.yml' # required
        repo_token: "${{ secrets.GITHUB_TOKEN }}" # optional
        repo_connect: true # optional

Input

Below is a breakdown of the expected action inputs.

version

Tag to be published.

docker_compose

Which docker-compose file to use.

repo_token

Repository (secret) token.

repo_connect

Images to repository link flag [true/false], set false not to link.

About

Deploy all images on in your docker-compose file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%