Skip to content

Commit

Permalink
chore: passed buildargs
Browse files Browse the repository at this point in the history
Co-authored-by: Gonzalo Suárez Losada <uo283928@uniovi.es>
  • Loading branch information
Toto-hitori committed Mar 11, 2024
1 parent a0df8d4 commit a7d1567
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -71,15 +74,16 @@ 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
username: ${{ github.actor }}
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
Expand Down

0 comments on commit a7d1567

Please sign in to comment.