Skip to content

Commit

Permalink
Build linuxkit packages in Circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
ernoaapa committed Dec 11, 2017
1 parent 276e24e commit 24706a0
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 24706a0

Please sign in to comment.