summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Gräf <romangraef@loves.dicksinhisan.us>2020-11-29 22:57:47 +0100
committerRoman Gräf <romangraef@loves.dicksinhisan.us>2020-11-29 22:57:47 +0100
commit2b6cbdbf2dfe71e906367a88bf1d0c6c657e50d5 (patch)
treef1bb2ec81fb2431c1e969907b208175157fb1216
parentcfd478b17ec4ea9898885a8dd4bd72edf1548a9c (diff)
downloadherrschwarzify-2b6cbdbf2dfe71e906367a88bf1d0c6c657e50d5.tar.gz
herrschwarzify-2b6cbdbf2dfe71e906367a88bf1d0c6c657e50d5.tar.bz2
herrschwarzify-2b6cbdbf2dfe71e906367a88bf1d0c6c657e50d5.zip
Docker
-rw-r--r--.github/workflows/docker.yml8
-rw-r--r--Dockerfile2
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