functional docker action

This commit is contained in:
Marko Schrempf 2025-01-09 09:22:28 +01:00
parent 09d03710d1
commit b7faab0dcd
2 changed files with 4 additions and 7 deletions

View File

@ -11,17 +11,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: bytebang/htlle-da-env
options: --volume=${{ github.workspace }}:/workspace
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Copy PDF to workspace
- name: Build diploma thesis
run: |
cp /workspace/Diplomarbeit/diplomarbeit.pdf $GITHUB_WORKSPACE/diplomarbeit.pdf
docker run --rm -v ${{ github.workspace }}/Diplomarbeit:/workspace bytebang/htlle-da-env
- name: Send diploma thesis
uses: dawidd6/action-send-mail@v4
@ -34,4 +31,4 @@ jobs:
body: " "
to: ${{ secrets.TEAMS_MAIL }}
from: ${{ secrets.MAIL }}
attachments: diplomarbeit.pdf
attachments: Diplomarbeit/diplomarbeit.pdf

View File

@ -36,4 +36,4 @@ jobs:
body: " "
to: ${{ secrets.TEAMS_MAIL }}
from: ${{ secrets.MAIL }}
attachments: Diplomarbeit/diplomarbeit.pdf
attachments: Diplomarbeit/diplomarbeit.pdf