From 65478962e25b66a3c69b92b815a154c663525975 Mon Sep 17 00:00:00 2001 From: petarpeshev Date: Tue, 27 Feb 2024 13:11:51 +0200 Subject: [PATCH] ci: add build args pipeline --- .github/workflows/prod-docker.yml | 3 +++ .github/workflows/staging-docker.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/prod-docker.yml b/.github/workflows/prod-docker.yml index 084b3641..1cc5d687 100644 --- a/.github/workflows/prod-docker.yml +++ b/.github/workflows/prod-docker.yml @@ -83,6 +83,9 @@ jobs: with: context: . file: Dockerfile + build-args: | + VUE_APP_MAINNET_DEX_BACKEND_URL="https://dex-backend-mainnet.prd.service.aepps.com" + VUE_APP_TESTNET_DEX_BACKEND_URL="https://dex-backend-testnet.prd.service.aepps.com" push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/staging-docker.yml b/.github/workflows/staging-docker.yml index a369b2c9..eb240608 100644 --- a/.github/workflows/staging-docker.yml +++ b/.github/workflows/staging-docker.yml @@ -68,6 +68,9 @@ jobs: with: context: . file: Dockerfile + build-args: | + VUE_APP_MAINNET_DEX_BACKEND_URL="https://dex-backend-mainnet.prd.service.aepps.com" + VUE_APP_TESTNET_DEX_BACKEND_URL="https://dex-backend-testnet.prd.service.aepps.com" push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}