update license
ci-cd-vm / ci-cd (push) Failing after 1m4s

This commit is contained in:
Chris Chen
2026-06-22 16:53:29 -07:00
parent bcd6b39356
commit 70ea56280c
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -28,7 +28,9 @@ jobs:
- name: Build images - name: Build images
run: | run: |
docker build -t "$REGISTRY/rolac-api:latest" -t "$REGISTRY/rolac-api:${{ github.sha }}" ./API docker build -t "$REGISTRY/rolac-api:latest" -t "$REGISTRY/rolac-api:${{ github.sha }}" ./API
docker build -t "$REGISTRY/rolac-app:latest" -t "$REGISTRY/rolac-app:${{ github.sha }}" ./APP docker build \
--build-arg KENDO_UI_LICENSE="${{ secrets.KENDO_UI_LICENSE }}" \
-t "$REGISTRY/rolac-app:latest" -t "$REGISTRY/rolac-app:${{ github.sha }}" ./APP
- name: Push images - name: Push images
run: | run: |
+5
View File
@@ -4,6 +4,11 @@ WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci --legacy-peer-deps RUN npm ci --legacy-peer-deps
COPY . . COPY . .
# Kendo Angular license: passed in as a build-arg (sourced from a Gitea Actions
# secret), exposed to `npm run build` as the env var kendo-licensing reads. Not
# baked into any image layer beyond this build stage (the runtime stage is nginx).
ARG KENDO_UI_LICENSE
ENV KENDO_UI_LICENSE=${KENDO_UI_LICENSE}
RUN npm run build # -> dist/client-bridge/browser (production by default) RUN npm run build # -> dist/client-bridge/browser (production by default)
# ---- runtime ---- # ---- runtime ----