From a7d15672277698b6762164cb762434dc8feabf39 Mon Sep 17 00:00:00 2001 From: Dario Date: Mon, 11 Mar 2024 18:06:44 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20passed=20buildargs=20Co-authored-by:?= =?UTF-8?q?=20Gonzalo=20Su=C3=A1rez=20Losada=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03e38d4c..b712f969 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,10 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: api - buildargs: API_URI + buildargs: | + DATABASE_USER + DATABASE_PASSWORD + JWT_SECRET docker-push-webapp: runs-on: ubuntu-latest permissions: @@ -71,7 +74,7 @@ jobs: - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 env: - API_URI: http://${{ secrets.DEPLOY_HOST }}:8080 + REACT_APP_API_ENDPOINT: http://${{ secrets.DEPLOY_HOST }}:8080 teamname: wiq_en2b with: name: arquisoft/wiq_en2b/webapp @@ -79,7 +82,8 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io workdir: webapp - buildargs: API_URI + buildargs: | + REACT_APP_API_ENDPOINT deploy: name: Deploy over SSH runs-on: ubuntu-latest