diff --git a/.github/workflows/compile-and-upload-docker-image.yml b/.github/workflows/compile-and-upload-docker-image.yml index 8a15307..b3184b4 100644 --- a/.github/workflows/compile-and-upload-docker-image.yml +++ b/.github/workflows/compile-and-upload-docker-image.yml @@ -11,8 +11,8 @@ jobs: # Clone class-forge repo locally - run: git clone https://github.com/mario872/class-forge # Log into Docker Hub - - uses: docker/login-action@v3 - with: + - run: docker login -u "$username" -p "$password" + env: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} # Run upload-docker.py diff --git a/Dockerfile b/Dockerfile index 4453a70..db8f00b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="jamesaglynn10@gmail.com" LABEL version="0.34" LABEL description="This is the docker image for class-forge" -ENV IN_DOCKER true +ENV IN_DOCKER=true ARG DEBIAN_FRONTEND=noninteractive