-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
47 lines (46 loc) · 1.31 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
41
42
43
44
45
46
47
apiVersion: skaffold/v2beta25
kind: Config
build:
artifacts:
- image: semver-tags
custom:
buildCommand: |
DOCKER_BUILDKIT=1 docker build --tag $IMAGE --build-arg BUILDKIT_INLINE_CACHE=1 --secret id=GIT_PAT "$BUILD_CONTEXT"
dependencies:
dockerfile:
path: Dockerfile
deploy:
helm:
releases:
- name: semver-tags
namespace: semver-tags
createNamespace: true
# chartPath: ../chart-semver-tags/chart
remoteChart: catalyst/semver-tags
version: '>=1.0.0-alpha'
artifactOverrides:
image: semver-tags
imageStrategy:
helm: {}
valuesFiles:
- skaffold-values.yaml
portForward: []
# example pf for grpc server
# - resourceType: service
# resourceName: semver-tags
# namespace: semver-tags
# port: 6000
# localPort: 6000
profiles:
- name: actions
activation:
- env: SKAFFOLD_ACTIONS=true
build:
artifacts:
- image: semver-tags
custom:
buildCommand: |
docker buildx build --tag $IMAGE --load --cache-from type=gha,mode=max --cache-to type=gha,mode=max --build-arg BUILDKIT_INLINE_CACHE=1 --secret id=GIT_PAT "$BUILD_CONTEXT"
dependencies:
dockerfile:
path: Dockerfile