-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.1 KB
/
release-on-merge.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Release on Merge
concurrency:
group: container-release
cancel-in-progress: false
on:
push:
branches: ["main"]
paths:
- "apps/**"
- ".github/scripts/templates/**"
- "!apps/**/metadata.json"
- "!apps/**/metadata.yaml"
- "!apps/**/README.md"
jobs:
simple-checks:
uses: lildrunkensmurf/containers/.github/workflows/simple-checks.yaml@main
get-changed-images:
needs: ["simple-checks"]
uses: lildrunkensmurf/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: lildrunkensmurf/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: ./.github/workflows/render-readme.yaml
secrets: inherit