-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.13 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
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release on Merge
concurrency:
group: container-release
cancel-in-progress: false
on:
push:
branches: ["main"]
paths:
- "apps/**"
- "scripts/templates/**"
- "!apps/**/metadata.yaml"
- "!apps/**/README.md"
jobs:
simple-checks:
uses: RareCompute/containers/.github/workflows/simple-checks.yaml@main
get-changed-images:
needs: ["simple-checks"]
uses: RareCompute/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: RareCompute/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