From 0199ecf03db77ce65fa866df2a0133825280828e Mon Sep 17 00:00:00 2001 From: Andre Wlodkovski Date: Thu, 28 Mar 2024 21:13:12 -0300 Subject: [PATCH] Add build args to GitHub Action --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7c8f77..c500139 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,8 @@ name: Test and Build env: IMAGE_NAME: andrewlod767/authentication-api + PROD_ENDPOINT: "" + SV_PORT: "80" on: push: @@ -38,3 +40,6 @@ jobs: load: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + build-args: | + PROD_ENDPOINT=${{ env.PROD_ENDPOINT }} + SV_PORT=${{ env.SV_PORT }}