-
Notifications
You must be signed in to change notification settings - Fork 53
41 lines (37 loc) · 1000 Bytes
/
autobuild.yml
File metadata and controls
41 lines (37 loc) · 1000 Bytes
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: autobuild
permissions:
id-token: write
contents: read
on:
schedule:
- cron: '00 16 * * *'
workflow_dispatch:
jobs:
trigger-push-to-s3:
strategy:
fail-fast: false
matrix:
architecture: [x86_64, arm64]
uses: ./.github/workflows/push-to-s3.yml
with:
environment: PROD
architecture: ${{ matrix.architecture }}
secrets:
role: ${{ secrets.AWS_ROLE_TO_ASSUME }}
devRegion: ${{ secrets.AWS_DEV_REGION }}
prodRegion: ${{ secrets.AWS_PROD_REGION }}
trigger-push-to-ecr:
needs: trigger-push-to-s3
strategy:
fail-fast: false
matrix:
architecture: [x86_64, arm64]
uses: ./.github/workflows/push-to-ecr.yml
with:
environment: PROD
architecture: ${{ matrix.architecture }}
secrets:
role: ${{ secrets.AWS_ROLE_TO_ASSUME }}
account_id: ${{ secrets.AWS_ACCOUNT_ID }}
devRegion: ${{ secrets.AWS_DEV_REGION }}
prodRegion: ${{ secrets.AWS_PROD_REGION }}