From d50ee2c36a39f6f9a9113dc0f3bf0836a51d8c98 Mon Sep 17 00:00:00 2001 From: "alexandr.maquet" Date: Tue, 19 Mar 2024 10:31:54 +0100 Subject: [PATCH] Update commit --- .github/workflows/python-app.yml | 11 +++++++++++ reponses.md | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f3d4fca..8a56fe9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -37,3 +37,14 @@ jobs: - name: Test with pytest run: | pytest + + build-docker-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Login to registry + run: echo ${{ secrets.PERSONAL_TOKEN }} | docker login ghcr.io -u AlexandreMaquet-HeArc --password-stdin + - name: Build the Docker image + run: docker build . --file Dockerfile --tag ghcr.io/AlexandreMaquet-HeArc/tp2:latest + - name: Push the image into the registry + run: docker push ghcr.io/AlexandreMaquet-HeArc/tp2:latest \ No newline at end of file diff --git a/reponses.md b/reponses.md index c0a35c7..d50b0ae 100644 --- a/reponses.md +++ b/reponses.md @@ -8,3 +8,7 @@ - Q: La première étape contient le mot-clé ‘with’, a quoi sert-il ? - R: Ce mot permet de spécifier certains prérequis à utiliser. Dans ce cas, cela force à utiliser la version 3.10 de Python + + +TODO: ex1.c +https://github.com/AlexandreMaquet-HeArc/TP2_IND-LOG \ No newline at end of file