Fixed error in Dockerfile
- Made its job parallel for testing
This commit is contained in:
parent
4a0fba18aa
commit
68da19e5e5
|
|
@ -57,7 +57,7 @@ jobs:
|
||||||
|
|
||||||
name: Push Docker image to Docker Hub
|
name: Push Docker image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
# needs: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/PcbDraw/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
curl -s https://api.github.com/repos/INTI-CMNB/PcbDraw/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/KiCost/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
curl -s https://api.github.com/repos/INTI-CMNB/KiCost/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
||||||
apt -y install --no-install-recommends ./*.deb && \
|
apt -y install --no-install-recommends ./*.deb && \
|
||||||
pip3 install git+https://github.com/INTI-CMNB/KiBot.git \
|
pip3 install git+https://github.com/INTI-CMNB/KiBot.git && \
|
||||||
apt-get -y remove curl wget python3-pip && \
|
apt-get -y remove curl wget python3-pip && \
|
||||||
apt-get -y autoremove && \
|
apt-get -y autoremove && \
|
||||||
rm /*.deb && \
|
rm /*.deb && \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue