-
Notifications
You must be signed in to change notification settings - Fork 42
/
skaffold.yaml
40 lines (40 loc) · 1.1 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
apiVersion: skaffold/v4beta8
kind: Config
build:
artifacts:
- image: podcastserver/backend-base-image
docker:
dockerfile: backend/src/main/base-image/Dockerfile
- image: podcastserver/backend
jib:
project: backend
args:
- -Pskaffold=true
fromImage: podcastserver/backend-base-image
requires:
- image: podcastserver/backend-base-image
- image: podcastserver/init-db
docker:
dockerfile: ./backend-lib-database/src/main/docker/Dockerfile
- image: podcastserver/storage
context: storage/
- image: podcastserver/ui
custom:
buildCommand: |
set -euo pipefail
sh ui/compile.sh
docker build -f ui/target/docker/Dockerfile ui/target/docker/ -t $IMAGE
if $PUSH_IMAGE; then
docker push $IMAGE
fi
dependencies:
paths:
- frontend-angularjs/target/dist
- frontend-angular/dist
- ui
manifests:
kustomize:
paths:
- distribution/kubernetes/overlays/podcast.k8s.local/
deploy:
kubectl: {}