Skip to content

chore: cleanup

chore: cleanup #204

---
name: Release on Merge
concurrency:
group: container-release
cancel-in-progress: false
on:
workflow_dispatch:
push:
branches: ["main"]
paths:
- "apps/**"
- ".github/scripts/templates/**"
- "!apps/**/metadata.json"
- "!apps/**/metadata.yaml"
- "!apps/**/README.md"
jobs:
simple-checks:
uses: JJGadgets/containers/.github/workflows/simple-checks.yaml@main
get-changed-images:
needs: ["simple-checks"]
uses: JJGadgets/containers/.github/workflows/get-changed-images.yaml@main
build-images:
needs: ["simple-checks", "get-changed-images"]
if: ${{ needs.get-changed-images.outputs.addedOrModified == 'true' }}
uses: JJGadgets/containers/.github/workflows/build-images.yaml@main
secrets: inherit
with:
appsToBuild: "${{ needs.get-changed-images.outputs.addedOrModifiedImages }}"
pushImages: true
sendNotifications: true
render-readme:
name: Render Readme
needs: build-images
if: ${{ always() && needs.build-images.result != 'failure' }}
uses: JJGadgets/containers/.github/workflows/render-readme.yaml@main
secrets: inherit