From 1726c4305f25188e115a5b0aaea70a78f9dc194b Mon Sep 17 00:00:00 2001 From: vincentwschau <99756290+vincentwschau@users.noreply.github.com> Date: Tue, 7 Nov 2023 11:53:21 -0500 Subject: [PATCH] [CLOB-976] Push indexer ECR images to mainnet. (#766) --- .../indexer-build-and-push-mainnet.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/indexer-build-and-push-mainnet.yml diff --git a/.github/workflows/indexer-build-and-push-mainnet.yml b/.github/workflows/indexer-build-and-push-mainnet.yml new file mode 100644 index 0000000000..9d338322a4 --- /dev/null +++ b/.github/workflows/indexer-build-and-push-mainnet.yml @@ -0,0 +1,18 @@ +name: Indexer Build & Push Images to AWS ECR for Mainnet + +on: # yamllint disable-line rule:truthy + push: + branches: + - main + - 'release/[a-z]+/0.[0-9]+.x' # e.g. release/indexer/v0.1.x + - 'release/[a-z]+/v[0-9]+.x' # e.g. release/indexer/v1.x + # TODO(DEC-837): Customize github build and push to ECR by service with paths + +jobs: + # Build and push to mainnet + call-build-and-push-ecs-services-mainnet: + name: (Mainnet) Build and Push ECS Services + uses: ./.github/workflows/indexer-build-and-push-all-ecr-images.yml + with: + ENVIRONMENT: mainnet + secrets: inherit