diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..491a538 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,9 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: docker:latest + commands: + - docker build . --build-arg USER=$USER --build-arg TOKEN=$TOKEN diff --git a/Dockerfile b/Dockerfile index 7f54fee..35a9ca4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,7 +71,10 @@ RUN make RUN cp prdbase prspice /opt/cad/bin # install ACT-06 -#WORKDIR /toolsrc -#RUN git clone https://github.com/nbingham1/act-06.git -#WORKDIR act-06 -#RUN make +ARG USER +ARG TOKEN + +WORKDIR /toolsrc +RUN git clone https://$USER:$TOKEN@git.broccolimicro.io/Broccoli/act-06.git +WORKDIR act-06 +RUN make