From 5134c4fb78a174247b6eae033cf273541aa90df6 Mon Sep 17 00:00:00 2001 From: Max Alekseenko Date: Fri, 26 Jul 2024 13:18:50 +0200 Subject: [PATCH] add preset selection for review-l2 --- .github/workflows/deploy-review-l2.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/deploy-review-l2.yml b/.github/workflows/deploy-review-l2.yml index 02feb3ce64..98b0f9ed65 100644 --- a/.github/workflows/deploy-review-l2.yml +++ b/.github/workflows/deploy-review-l2.yml @@ -2,6 +2,28 @@ name: Deploy review environment (L2) on: workflow_dispatch: + inputs: + envs_preset: + description: ENVs preset + required: false + default: "" + type: choice + options: + - none + - arbitrum + - base + - celo_alfajores + - gnosis + - eth + - eth_sepolia + - eth_goerli + - optimism + - optimism_sepolia + - polygon + - rootstock + - stability + - zkevm + - zksync jobs: make_slug: @@ -23,6 +45,7 @@ jobs: uses: './.github/workflows/publish-image.yml' with: tags: ghcr.io/blockscout/frontend:review-${{ needs.make_slug.outputs.REF_SLUG }} + build_args: ENVS_PRESET=${{ inputs.envs_preset }} secrets: inherit deploy_review_l2: