From de73c8d68f4957e92ecc0254bc5cdb621ffc5f97 Mon Sep 17 00:00:00 2001 From: supphakitd <67319010028@technictrang.ac.th> Date: Thu, 20 Nov 2025 07:07:57 +0700 Subject: [PATCH] workflow: fix path for apt sed'in, verify why angular is not installed angular issue is about the version itself, but verification is needed by front-end dev too. cannot figure it out yet why isn't installing on ubuntu noble container. ubuntu noble is using /etc/apt/source.list.d, unlike debian. Signed-off-by: supphakitd <67319010028@technictrang.ac.th> --- .gitea/workflows/build-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 6e0187b..99bf893 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -11,7 +11,7 @@ jobs: - name: Install system dependencies run: | # change mirror to kku.ac.th for faster package downloading - sudo sed -i 's@http://archive.ubuntu.com@https://mirror.kku.ac.th@g' /etc/apt/sources.list + sudo sed -i 's@http://archive.ubuntu.com@http://mirror.kku.ac.th@g' /etc/apt/sources.list.d/ubuntu.sources sudo apt update && sudo apt install nodejs npm -y - name: Install project dependencies run: | @@ -20,9 +20,10 @@ jobs: - name: Build webapp run: | cd accounting-ng-nuttakit + ls node_modules ng build ls dists - - name: Build Docker Image + - name: Build docker image run: | ls docker -v