From 99c6b4679fc3a27b698331cd988482a26c2b85d6 Mon Sep 17 00:00:00 2001 From: ChatonDeAru <823314+chatondearu@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:17:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20trying=20to=20pass=20api=20url?= =?UTF-8?q?=20on=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b1fa89..15b4fda 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,6 @@ jobs: password: ${{ secrets.SCALEWAY_API_KEY }} registry: ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }} - name: Build the Docker image - run: docker build . -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }} + run: docker build . --build-arg API_URL=${{ secrets.API_URL }} -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }} - name: Push the Docker Image run: docker push ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/fo-${{ inputs.envType }}