workflow: remove install docker, sudo sed and test ng build release
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 5m58s
Some checks failed
Build Docker Image / Build Docker Image (push) Failing after 5m58s
since docker is already exist inside the container, no need to reinstall. Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
@@ -11,10 +11,8 @@ jobs:
|
|||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
# change mirror to kku.ac.th for faster package downloading
|
# 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 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
|
sudo apt update && sudo apt install nodejs npm -y
|
||||||
# Install docker
|
|
||||||
curl -fSsl https://get.docker.com | bash
|
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: |
|
run: |
|
||||||
cd accounting-ng-nuttakit
|
cd accounting-ng-nuttakit
|
||||||
@@ -22,7 +20,8 @@ jobs:
|
|||||||
- name: Build webapp
|
- name: Build webapp
|
||||||
run: |
|
run: |
|
||||||
cd accounting-ng-nuttakit
|
cd accounting-ng-nuttakit
|
||||||
npm install --force
|
ng build
|
||||||
|
ls dists
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
|
|||||||
Reference in New Issue
Block a user