diff --git a/.drone.yml b/.drone.yml index 50ea9ee..508500e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,10 +12,11 @@ pipeline: commands: - go get - go build - docker: - image: docker:latest - commands: - - docker build -t deadbeef.codes:5000/mandelmapper:latest . - - docker push deadbeef.codes:5000/mandelmapper:latest - \ No newline at end of file + + publish: + image: plugins/docker + repo: deadbeef.codes:5000/mandelmap +# registry: deadbeef.codes:5001 +# auto_tag: true +# auto_tag_suffix: linux-rpi3 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0f79d87..5897498 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,3 @@ -FROM golang:latest -WORKDIR /go/src/deadbeef.codes/steven/mandelmapper -RUN GOOS=linux GOARCH=arm GOARM=7 go build - FROM resin/raspberrypi3-alpine COPY --from=0 mandelmapper /usr/bin EXPOSE 6161:6161