From 4ec7d7449e922d55d007a389b9622eb0250c44a3 Mon Sep 17 00:00:00 2001 From: mario872 Date: Tue, 16 Jul 2024 15:45:57 +1000 Subject: [PATCH] Update compile-and-upload-docker-image.yml and Dockerfile --- .github/workflows/compile-and-upload-docker-image.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compile-and-upload-docker-image.yml b/.github/workflows/compile-and-upload-docker-image.yml index b3184b4..75edaa9 100644 --- a/.github/workflows/compile-and-upload-docker-image.yml +++ b/.github/workflows/compile-and-upload-docker-image.yml @@ -11,10 +11,10 @@ jobs: # Clone class-forge repo locally - run: git clone https://github.com/mario872/class-forge # Log into Docker Hub - - run: docker login -u "$username" -p "$password" + - run: docker login -u "$username" -p "$password" && python upload-docker.py env: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} # Run upload-docker.py - - run: python upload-docker.py - working-directory: ./class-forge + #- run: python upload-docker.py + # working-directory: ./class-forge diff --git a/Dockerfile b/Dockerfile index db8f00b..08ddbff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,4 +32,4 @@ RUN python3 -m playwright install-deps EXPOSE 80 443 -CMD [ "python3", "/home/class-forge/main.py"] +CMD ["python3", "/home/class-forge/main.py"]