Fix build
Some checks failed
Build on push / build-api (push) Failing after 19s
Build on push / build-web (push) Failing after 20s

This commit is contained in:
Sven Heidemann 2025-01-04 14:09:17 +01:00
parent c894f8eb10
commit 66b3807d8c
3 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api-dev:$(cat version.txt) . docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api-dev:$(cat version.txt) .
- name: Login to registry git.sh-edraft.de - name: Login to registry git.sh-edraft.de
@ -45,10 +46,12 @@ jobs:
- name: Build web - name: Build web
run: | run: |
cd web
npm run build npm run build
- name: Build docker - name: Build docker
run: | run: |
cd web
docker build -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

View File

@ -17,6 +17,7 @@ jobs:
- name: Build docker - name: Build docker
run: | run: |
cd api
docker build -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
@ -45,10 +46,12 @@ jobs:
- name: Build web - name: Build web
run: | run: |
cd web
npm run build npm run build
- name: Build docker - name: Build docker
run: | run: |
cd web
docker build -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

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM python:3.12.7-alpine FROM python:3.12.8-alpine
WORKDIR /app WORKDIR /app
COPY ./src/ . COPY ./src/ .