Implement CI for UI, Logical Backup Images to GHCR (#2527)

* Implement CI for UI, Logical Backup Images to GHCR

---------

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
Dominic Giebert
2024-02-14 17:59:40 +01:00
committed by GitHub
co-authored by Felix Kunde
parent 886cb86797
commit 569fc57fc8
3 changed files with 41 additions and 15 deletions
+13 -2
View File
@@ -1,5 +1,16 @@
ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3.15:latest
FROM ${BASE_IMAGE}
ARG NODE_IMAGE=node:14.21.2-alpine
FROM $NODE_IMAGE AS build
COPY . /workdir
WORKDIR /workdir/app
RUN npm install &&\
npm run build
FROM $BASE_IMAGE
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
EXPOSE 8081
@@ -34,7 +45,7 @@ COPY start_server.sh /
RUN pip3 install -r /requirements.txt
COPY operator_ui /operator_ui
COPY --from=build /workdir/operator_ui/static/build /operator_ui/static/build
ARG VERSION=dev
RUN sed -i "s/__version__ = .*/__version__ = '${VERSION}'/" /operator_ui/__init__.py