workflow: change package mirror to kku, install and test docker-in-docker
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 24s

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-20 06:29:35 +07:00
parent 1847bf5d65
commit 0c05d9eadf

View File

@@ -10,9 +10,20 @@ jobs:
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt update && sudo apt install nodejs npm -y
// change mirror to kku.ac.th for faster package downloading
sed -i 's@http://archive.ubuntu.com@https://mirror.kku.ac.th@g' /etc/apt/sources.list
sudo apt update && sudo apt install nodejs npm curl -y
// Install docker
curl -fSsl https://get.docker.com | bash
- name: Install project dependencies
run: |
cd accounting-ng-nuttakit
npm install --force
- name: Build webapp
run: |
cd accounting-ng-nuttakit
npm install --force
- name: Build Docker Image
run: |
ls
docker -v