Skip to content

Reduce number of new ECR images in AWS (#1548) #1379

Reduce number of new ECR images in AWS (#1548)

Reduce number of new ECR images in AWS (#1548) #1379

name: Indexer Build & Push Images to AWS ECR for Dev / Staging branches
on: # yamllint disable-line rule:truthy
push:
branches:
- main
<<<<<<< HEAD

Check failure on line 7 in .github/workflows/indexer-build-and-push-dev-staging.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/indexer-build-and-push-dev-staging.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
- 'release/[a-z]+/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/indexer/v1.x
=======
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
>>>>>>> 9cb8bbae (Reduce number of new ECR images in AWS (#1548))
# TODO(DEC-837): Customize github build and push to ECR by service with paths
jobs:
# Build and push to dev
call-build-and-push-ecs-services-dev:
name: (Dev) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: dev
secrets: inherit
# Build and push to dev2
call-build-and-push-ecs-services-dev2:
name: (Dev2) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: dev2
secrets: inherit
# Build and push to dev3
call-build-and-push-ecs-services-dev3:
name: (Dev3) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: dev3
secrets: inherit
# Build and push to dev4
call-build-and-push-ecs-services-dev4:
name: (Dev4) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: dev4
secrets: inherit
# Build and push to dev5
call-build-and-push-ecs-services-dev5:
name: (Dev5) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: dev5
secrets: inherit
# Build and push to staging
call-build-and-push-ecs-services-staging:
name: (Staging) Build and Push ECS Services
uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml
with:
ENVIRONMENT: staging
secrets: inherit