From 2b6cbdbf2dfe71e906367a88bf1d0c6c657e50d5 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Sun, 29 Nov 2020 22:57:47 +0100 Subject: Docker --- .github/workflows/docker.yml | 8 ++++---- 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 diff --git a/Dockerfile b/Dockerfile index 2e6ba3c..dd60484 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit