Compare commits

..

No commits in common. "5c1dc3e731332e240b27ff8b8c9af50d2c6e7b5b" and "e5d2a67f9da2d0fe6871fd622d73a10738da218e" have entirely different histories.

3 changed files with 9 additions and 6 deletions

View File

@ -56,7 +56,7 @@ jobs:
run: | run: |
cd api cd api
echo "VERSION = \"$(cat version.txt)\"" > version.py echo "VERSION = \"$(cat version.txt)\"" > version.py
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) . docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -87,7 +87,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
docker build --no-cache -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) . docker build -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -128,7 +128,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd web cd web
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) . docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1

View File

@ -56,7 +56,7 @@ jobs:
run: | run: |
cd api cd api
echo "VERSION = \"$(cat version.txt)\"" > version.py echo "VERSION = \"$(cat version.txt)\"" > version.py
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) . docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -87,7 +87,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api cd api
docker build --no-cache -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) . docker build -f dockerfile_redirector -t git.sh-edraft.de/sh-edraft.de/open-redirect-redirector:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1
@ -128,7 +128,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd web cd web
docker build --no-cache -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) . docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1 uses: https://github.com/docker/login-action@v1

View File

@ -3,7 +3,10 @@ FROM python:3.12.8-alpine
WORKDIR /app WORKDIR /app
COPY ./src/api/ ./api
COPY ./src/core/ ./core COPY ./src/core/ ./core
COPY ./src/data/ ./data
COPY ./src/service/ ./service
COPY ./src/static/ ./static COPY ./src/static/ ./static
COPY ./src/templates/ ./templates COPY ./src/templates/ ./templates