Skip to content

Commit

Permalink
Update compile-and-upload-docker-image.yml and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mario872 committed Jul 16, 2024
1 parent e529325 commit 4ec7d74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/compile-and-upload-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 4ec7d74

Please sign in to comment.