Skip to content

Commit

Permalink
arreglar problema del ssh en el depsliegue
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Feb 19, 2024
1 parent af82de0 commit 9e591d4
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,24 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: gatewayservice
docker-push-questionservice:
name: Push question 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_es04c/questionservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: questionservice

deploy:
name: Deploy over SSH
runs-on: ubuntu-latest
Expand All @@ -125,4 +143,4 @@ jobs:
wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_es04c/master/.env -O .env
docker compose down
docker compose --profile prod up -d
docker compose --profile prod up -d

0 comments on commit 9e591d4

Please sign in to comment.