Skip to content

Commit 9e9ab0f

Browse files
committedMar 3, 2020
build image without cache
1 parent 2406dd2 commit 9e9ab0f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
 

‎config-release/values.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#@data/values
22
---
33
push_images: true
4+
image_cache: false
45
image_repo: docker.io/k14s/kapp-controller

‎config/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ kind: Sources
55
sources:
66
- image: kapp-controller
77
path: .
8+
#@ if/end not data.values.image_cache:
9+
docker:
10+
build:
11+
#! Always rebuild image
12+
pull: true
13+
noCache: true
814

915
#@ if/end data.values.push_images:
1016
---

‎config/values.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ namespace: kapp-controller
44
create_namespace: true
55

66
push_images: false
7+
image_cache: true
78
image_repo: docker.io/k14s/kapp-controller-test

0 commit comments

Comments
 (0)
Please sign in to comment.