Skip to content

Commit

Permalink
Merge pull request #1 from ernoaapa/add-circleci-build
Browse files Browse the repository at this point in the history
Build linuxkit packages in Circleci
  • Loading branch information
ernoaapa authored Dec 11, 2017
2 parents 276e24e + 24706a0 commit 2108697
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,31 @@ version: 2
jobs:
build:
docker:
- image: debian:stretch
- image: circleci/golang:1.9
working_directory: /go/src/github.com/ernoaapa/eliot
steps:
- checkout

- setup_remote_docker

- run:
name: Greeting
command: echo Hello, world.
name: Install tools
command: |
go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit
go get -u github.com/estesp/manifest-tool
- run:
name: Print the Current Time
command: date
name: Login Docker hub
command: echo $DOCKER_PASS | docker login --username $DOCKER_USER --password-stdin

- run:
name: Build & push images
command: |
cd pkg
make forcepush
workflows:
version: 2
build:
jobs:
- build

0 comments on commit 2108697

Please sign in to comment.