Skip to content

Commit

Permalink
WIP(ci): --
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton committed Dec 20, 2019
1 parent ffb3f20 commit fb0cf7d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/docker-build-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM golang:1.13.5-buster

RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.21.0

RUN curl -s https://codecov.io/bash > /bin/codecov && chmod +x /bin/codecov
10 changes: 10 additions & 0 deletions tool/docker-build-go/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
IMAGE ?= bertytech/build-go
VERSION ?= v1

build:
docker build -t $(IMAGE):$(VERSION) .

publish: build
docker tag $(IMAGE):$(VERSION) $(IMAGE):latest
docker push $(IMAGE):$(VERSION)
docker push $(IMAGE):latest

0 comments on commit fb0cf7d

Please sign in to comment.