Skip to content

Commit

Permalink
ci: add job to build the image to avoid future issues
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Dec 2, 2020
1 parent e85266b commit 5ec6188
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
- checkout
- run: make test

build-image:
executor:
name: default
steps:
- checkout
- setup_remote_docker
- run: make build-image

workflows:
main:
jobs:
Expand All @@ -30,3 +38,11 @@ workflows:
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.*)*/
- build-image:
requires:
- test
- lint
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.*)*/

8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
.circleci
.git
.github
.golangci.yml
_config.yml
config_example.yaml
*.md
hack
imgs
OWNERS

0 comments on commit 5ec6188

Please sign in to comment.