Skip to content

properly configure the service monitor when running with tls enabled #15

properly configure the service monitor when running with tls enabled

properly configure the service monitor when running with tls enabled #15

Workflow file for this run

name: ci
on:
push:
branches:
- "**"
tags:
- "*"
env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
HELM_DIR: ./cockroachdb
jobs:
############################ tests ############################
lint-helm:
runs-on: [self-hosted]
steps:
- uses: eniblock/build/actions/setup@develop
- run: earthly +lint
############################ helm ############################
helm-publish:
runs-on: [self-hosted]
needs: [lint-helm]
steps:
- uses: eniblock/build/actions/setup@develop
- run: |
earthly \
--secret registry_password=${{ github.token }} \
+publish \
--tag=${{ env.TAG }}
- name: Generate job summary
run: |
cat <<"EOF" >> $GITHUB_STEP_SUMMARY
## Helm package
Helm package was generated with tag `${{ env.TAG }}`
Use it directly with
~~~bash
helm install cockroachdb oci://ghcr.io/eniblock/cockroachdb --version ${{ env.TAG }}
~~~
or as a helm dependency in your `Chart.yaml`:
~~~yaml
dependencies:
- name: cockroachdb
version: "${{ env.TAG }}"
repository: "oci://ghcr.io/eniblock"
~~~
EOF