Skip to content

Commit

Permalink
CircleCI: update image, and use BuildKit
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah authored and HuKeping committed Oct 12, 2019
1 parent 62258bc commit 97ce293
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@ version: 2
jobs:
build:
machine:
image: circleci/classic:201808-01
image: ubuntu-1604:201903-01
docker_layer_caching: true
working_directory: ~/go/src/github.com/theupdateframework/notary
environment:
DOCKER_BUILDKIT: 1
steps:
- add_ssh_keys
- checkout
- run: docker build -t notary_client .
- run:
name: "Docker Info"
command: |
docker version
docker info
- run:
name: "Build image"
command: docker build --progress=plain -t notary_client .
- run: ./buildscripts/circle_parallelism.sh
- run: docker-compose -f docker-compose.yml down -v && docker-compose -f docker-compose.rethink.yml down -v

0 comments on commit 97ce293

Please sign in to comment.