Skip to content

Build and Publish All Docker Images #230

Build and Publish All Docker Images

Build and Publish All Docker Images #230

name: Build and Publish All Docker Images
on:
push:
branches:
- main
tags:
- v*
paths:
- 'base/Dockerfile'
pull_request:
paths:
- 'base/Dockerfile'
workflow_dispatch:
schedule:
- cron: '* * * * 3'
jobs:
buildAndPushBase:
uses: ./.github/workflows/publish-docker-reusable.yaml
with:
image: base
buildAndPush:
needs: buildAndPushBase
strategy:
matrix:
image:
- name: dev
- name: net
max-parallel: 2
uses: ./.github/workflows/publish-docker-reusable.yaml
with:
image: ${{ matrix.image.name }}