diff options
-rw-r--r-- | .github/workflows/docker.yml | 8 | ||||
-rw-r--r-- | Dockerfile | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c7b170b..8e505b5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,10 +14,10 @@ jobs: - name: Publish Docker image uses: docker/build-push-action@v1 with: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - registry: docker.pkg.github.com - repository: romangraef/herrschwarzify/python + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + registry: ghcr.io + repository: romangraef/herrschwarzify tag_with_ref: true tags: latest @@ -4,7 +4,7 @@ WORKDIR /usr/src/app COPY Pipfile Pipfile.lock ./ RUN pipenv install --system --deploy COPY . ./ -ENV FLASK_APP=app +ENV FLASK_APP=herrschwarzify ENV FLASK_ENV=production ENV FLASK_RUN_HOST=0.0.0.0 ENV FLASK_RUN_PORT=5000 |