Fix build
This commit is contained in:
parent
c894f8eb10
commit
8df4afbf0e
@ -17,7 +17,8 @@ jobs:
|
||||
|
||||
- name: Build docker
|
||||
run: |
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api-dev:$(cat version.txt) .
|
||||
cd api
|
||||
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
|
||||
uses: https://github.com/docker/login-action@v1
|
||||
@ -41,15 +42,18 @@ jobs:
|
||||
|
||||
- name: Prepare web build
|
||||
run: |
|
||||
cd web
|
||||
npm ci
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
cd web
|
||||
npm run build
|
||||
|
||||
- name: Build docker
|
||||
run: |
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt) .
|
||||
cd web
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) .
|
||||
|
||||
- name: Login to registry git.sh-edraft.de
|
||||
uses: https://github.com/docker/login-action@v1
|
||||
|
@ -17,7 +17,8 @@ jobs:
|
||||
|
||||
- name: Build docker
|
||||
run: |
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat version.txt) .
|
||||
cd api
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-api:$(cat ../version.txt) .
|
||||
|
||||
- name: Login to registry git.sh-edraft.de
|
||||
uses: https://github.com/docker/login-action@v1
|
||||
@ -41,15 +42,18 @@ jobs:
|
||||
|
||||
- name: Prepare web build
|
||||
run: |
|
||||
cd web
|
||||
npm ci
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
cd web
|
||||
npm run build
|
||||
|
||||
- name: Build docker
|
||||
run: |
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat version.txt) .
|
||||
cd web
|
||||
docker build -t git.sh-edraft.de/sh-edraft.de/open-redirect-web:$(cat ../version.txt) .
|
||||
|
||||
- name: Login to registry git.sh-edraft.de
|
||||
uses: https://github.com/docker/login-action@v1
|
||||
|
@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.12.7-alpine
|
||||
FROM python:3.12.8-alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./src/ .
|
||||
|
Loading…
Reference in New Issue
Block a user