From 2c7810a6230875cef8c18f54ec15e5ffd474fed1 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Mon, 28 Oct 2019 13:04:11 +0900 Subject: [PATCH] Test the docker build on every PR --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 941c276b..bc761c3a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,6 +24,23 @@ jobs: root: ./ paths: - . + image: + docker: + - image: circleci/golang:1.13.3 + working_directory: /home/circleci/workspace/helmfile + steps: + - checkout + - restore_cache: + keys: + - go-mod-cache-v1-{{ checksum "./go.sum" }} + - go-mod-cache-v1- + - setup_remote_docker + - run: + command: | + docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" quay.io + make tools + go mod vendor + ORG=roboll BUILD_URL="$CIRCLE_BUILD_URL" make image test: environment: @@ -112,6 +129,7 @@ workflows: build_and_test: jobs: - build + - image - test - integration_tests: requires: