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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user