Skip to content

Commit

Permalink
Add buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
renanberto committed Feb 14, 2020
1 parent bc0def7 commit a677b97
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM golang:cross

# The golang Docker sets the $GOPATH to be /go
# https://github.com/docker-library/golang/blob/c1baf037d71331eb0b8d4c70cff4c29cf124c5e0/1.4/Dockerfile
RUN mkdir -p /go/src/github.com/renanberto/air-voice
WORKDIR /go/src/github.com/renanberto/air-voice
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
app:
build: .
volumes:
- ./:/go/src/github.com/renanberto/air-voice
- /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
environment:
- BUILDKITE_AGENT_ACCESS_TOKEN
- BUILDKITE_JOB_ID
- BUILDKITE_BUILD_ID
- BUILDKITE_BUILD_NUMBER

0 comments on commit a677b97

Please sign in to comment.