From 52275b09a74c9b8dc93a17c752c15eae95521a8c Mon Sep 17 00:00:00 2001 From: Ned Bingham Date: Sun, 18 Sep 2022 14:06:48 -0400 Subject: [PATCH] This should cover most of the tooling and enable pipelines --- .drone.yml | 9 +++++++++ Dockerfile | 11 +++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .drone.yml 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