adding dockerfile, drone.sig, and hopefully pipeline publish

pull/1/head
josebarn 7 years ago
parent cf1fa4475f
commit 270c3d120b

@ -5,6 +5,14 @@ pipeline:
- go build
- go test
ecr:
image: plugins/ecr
repo: 995121555896.dkr.ecr.us-east-1.amazonaws.com/cloudlock/test-sit-ci-built-svc
dockerfile: ./Dockerfile
context: .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
matrix:
IMAGE:
- golang:1.7

@ -0,0 +1 @@
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogJHtJTUFHRX0KICAgIGNvbW1hbmRzOgogICAgICAtIGdvIGJ1aWxkCiAgICAgIC0gZ28gdGVzdAoKICBlY3I6CiAgICBpbWFnZTogcGx1Z2lucy9lY3IKICAgIHJlcG86IDk5NTEyMTU1NTg5Ni5ka3IuZWNyLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tL2Nsb3VkbG9jay90ZXN0LXNpdC1jaS1idWlsdC1zdmMKICAgIGRvY2tlcmZpbGU6IC4vRG9ja2VyZmlsZQogICAgY29udGV4dDogLgogICAgdm9sdW1lczoKICAgICAgLSAvdmFyL3J1bi9kb2NrZXIuc29jazovdmFyL3J1bi9kb2NrZXIuc29jawoKbWF0cml4OgogIElNQUdFOgogICAgLSBnb2xhbmc6MS43CiAgICAtIGdvbGFuZzoxLjgKICAgIC0gZ29sYW5nOmxhdGVzdAo.W1WVwuySlWLl6SH711FinUAo8ygM3vR9R-wORel729M

@ -0,0 +1,6 @@
FROM golang:latest
RUN mkdir /app
ADD . /app/
WORKDIR /app
RUN go build -o main .
CMD ["/app/main"]
Loading…
Cancel
Save