diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17ea31a..c42855c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ env: jobs: - base: + multi-simulator: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -21,3 +21,14 @@ jobs: echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin docker push terostech/multi-simulator docker logout + + colibri: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: docker build -t terostech/colibri - < colibri.dockerfile + - name: Deploy to hub.docker.com + run: | + echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin + docker push terostech/colibri + docker logout \ No newline at end of file diff --git a/colibri.dockerfile b/colibri.dockerfile new file mode 100755 index 0000000..5d0a5ac --- /dev/null +++ b/colibri.dockerfile @@ -0,0 +1,26 @@ +FROM ubuntu + +LABEL Mantainers="Carlos Alberto, Ismael Perez, Alfredo Enrique Saez" + +ENV HOME /home +WORKDIR /home + +RUN apt-get update -qq \ + && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ + apt-utils \ + git \ + bzip2 \ + python3.7 \ + python3-pip \ + python3-dev \ + nodejs \ + npm \ + wget \ + && pip3 install vunit_hdl +RUN npm install -g n \ + && n stable +RUN mkdir /app \ + && cd /app \ + && git clone https://github.com/TerosTechnology/colibri.git \ + && cd colibri \ + && npm install -g .