-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 913 Bytes
/
pipeline.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
42
43
44
45
46
name: Subd Container Deployment Pipeline
on:
push:
branches: ["main"]
tags: ['v*.*.*']
pull_request:
branches: ["main"]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
integration:
uses: ./.github/workflows/integration-workflow.yaml
permissions:
contents: read
delivery:
needs: [integration]
uses: ./.github/workflows/delivery-workflow.yaml
permissions:
contents: read
packages: write
id-token: write
deploy-staging:
needs: [delivery]
uses: ./.github/workflows/deploy-aws-app-runner.yaml
with:
environment: Staging
permissions:
packages: read
secrets: inherit
deploy-production:
needs: [delivery]
uses: ./.github/workflows/deploy-aws-app-runner.yaml
with:
environment: Production
permissions:
packages: read
secrets: inherit