Writing Estado del arte: Added IoT example diagram #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build TFG PDF | |
on: | |
push: | |
paths: | |
- 'tfg_report/templateAPP/input/**' | |
pull_request: | |
paths: | |
- 'tfg_report/templateAPP/input/**' | |
jobs: | |
build_container_and_run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
# - name: Log in to Docker Hub | |
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
- name: Build Docker "felix.albertos/tfgii" image | |
working-directory: ./tfg_report | |
run: docker build -t="felix.albertos/tfgii" . | |
- name: Remove existing Docker container | |
run: | | |
if [ "$(docker ps -aq -f name=tfgii)" ]; then | |
docker rm -f tfgii | |
fi | |
- name: Change permissions for directories | |
run: chmod 777 -R ${{ github.workspace }}/tfg_report/templateAPP | |
- name: Run Docker "felix.albertos/tfgii" container | |
run: docker run -v ${{ github.workspace }}/tfg_report/templateAPP:/home/tfgii/templateAPP --name tfgii felix.albertos/tfgii |