-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 1.01 KB
/
build-dev.yml
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
---
name: Dev | Build And Deploy
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
permissions:
packages: write
id-token: write
uses: elastic-ipfs/shared-workflows/.github/workflows/lambda-shared-build.yaml@main
with:
docker_image_version_suffix_label: dev
secrets:
aws_account_id: ${{ secrets.AWS_ACCOUNT_ID }}
aws_role_id: ${{ secrets.AWS_ROLE_ID }}
aws_region: ${{ secrets.AWS_REGION }}
aws_ecr_repository: ${{ secrets.AWS_ECR_REPOSITORY_DEV }}
deploy:
uses: elastic-ipfs/shared-workflows/.github/workflows/lambda-shared-deploy.yaml@main
permissions:
id-token: write
needs: build
with:
deploy_to_environment: dev
lambda: dev-ep-indexer
docker_image_version: ${{ needs.build.outputs.build_date }}-dev
secrets:
aws_account_id: ${{ secrets.AWS_ACCOUNT_ID }}
aws_role_id: ${{ secrets.AWS_ROLE_ID }}
aws_region: ${{ secrets.AWS_REGION }}
aws_ecr_repository: ${{ secrets.AWS_ECR_REPOSITORY_DEV }}