Skip to content

Commit

Permalink
Adding roomservice
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Apr 30, 2024
1 parent 803d78d commit a12a0e8
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}



e2e-tests:
needs: [unit-tests]
runs-on: self-hosted
Expand All @@ -56,7 +54,27 @@ jobs:
env :
CI : ""


docker-push-roomservice:
name: Push room service Docker Image to GitHub Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_es05c/roomservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: roomservice
buildargs: REACT_APP_API_URI
env: # Esta línea estaba mal indentada
REACT_APP_API_URI: http://${{ secrets.DEPLOY_HOST }}:3000

docker-push-webapp:
name: Push webapp Docker Image to GitHub Packages
runs-on: ubuntu-latest
Expand Down

0 comments on commit a12a0e8

Please sign in to comment.