Skip to content

Commit 88a8845

Browse files
authored
Fix setup (#27)
* The "prod" profile should always push the resulting images * Use `restartPolicy: Never` as once is enough
1 parent 592809a commit 88a8845

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

skaffold.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ profiles:
3333
# prod: pushes images to production with :latest
3434
- name: prod
3535
build:
36+
local:
37+
push: true
3638
tagPolicy:
3739
envTemplate:
3840
template: '{{.IMAGE_NAME}}:latest'

test/k8s-test-installation.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
labels:
66
app: demo-duct-tape
77
spec:
8+
restartPolicy: Never
89
initContainers:
910
- name: init-go
1011
image: gcr.io/gcp-dev-tools/duct-tape/go

0 commit comments

Comments
 (0)