Skip to content

Docker Monorepo Publish

Actions
Publishes changes to multiple Docker apps in a monorepo
v0.0.3
Latest
Star (10)

docker-monorepo-action

Deploys multiple Dockerfile based on files changed in a monorepo

Usage

# .github/workflows/docker.yml
name: Deploy to Docker
on:
  push:
    branches:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Build and push changes
      uses: harrygogonis/docker-monorepo-action@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Example

Consider the following monorepo:

project
├── dashboard
│   ├── Dockerfile
│   └── index.php
├── monitoring
│   ├── Dockerfile
│   └── main.js
├── scripts
   └── make.sh

Changes to monitoring/** or dashboard/** in a push to master will build and deploy a docker image. Changes to scripts/** will not trigger a build.

Docker Monorepo Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publishes changes to multiple Docker apps in a monorepo
v0.0.3
Latest

Docker Monorepo Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.