Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
docs: add kontinuous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Feb 2, 2023
1 parent 1775d65 commit 2bc0257
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .kontinuous/values.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
# define docker registry options
global:
registry: harbor.fabrique.social.gouv.fr
imageProject: fabrique
imageRepository: template

# main app container
app:
# wait for build-app before deployment
~needs: [build-app]
imagePackage: app
containerPort: 8080

jobs:
runs:
# define a kubernetes job to build the docker image
build-app:
use: build
with:
imagePackage: app
registrySecretRefName: harbor
skipExisting: true
buildOptions: --single-snapshot --ignore-path=/product_uuid --compressed-caching=false # optim for local builds
# pass a custom docker build arg
buildArgs:
GITHUB_SHA: "{{ $.Values.global.sha }}"

0 comments on commit 2bc0257

Please sign in to comment.