blog/.concourse/pipeline.yml
2022-12-24 10:10:41 +01:00

39 lines
No EOL
828 B
YAML

---
resource_types:
- name: helm
type: docker-image
source:
repository: ghcr.io/typositoire/concourse-helm3-resource
resources:
- name: blog.git
type: git
icon: github
source:
uri: https://code.icb4dc0.de/prskr/blog.git
- name: blog-chart
type: helm
source:
cluster_url: ((k8s-credentials.url))
cluster_ca: ((k8s-credentials.ca-crt))
token: ((k8s-credentials.token))
release: blog
namespace: blog
jobs:
- name: build
plan:
- get: blog.git
trigger: true
- task: build-container-image
file: blog.git/.concourse/tasks/image.yml
input_mapping: {repo: blog.git}
- put: blog-chart
params:
chart: blog.git/deploy/helm
override_values:
- key: image.tag
path: blog.git/.git/refs/heads/main
type: string