forked from open-telemetry/opentelemetry-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 988 Bytes
/
release.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
name: Coralogix-OpenTelemetry-Collector-Helm-Chart
on:
push:
branches: main
paths:
- 'charts/opentelemetry-collector/**'
env:
CHART_VERSION: $(yq eval '.version' charts/opentelemetry-collector/Chart.yaml)
CHART_NAME: opentelemetry-collector
ARTIFACTORY_URL: https://cgx.jfrog.io/artifactory/
ARTIFACTORY_USERNAME: integrations-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2.4.0
-
name: Setup Helm Repo
run: |
cd charts/opentelemetry-collector
helm package .
-
name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2.1.0
with:
version: 2.12.1
-
name: use-jfrog-cli
run: |
cd charts/opentelemetry-collector
jfrog rt upload --access-token ${{ secrets.ARTIFACTORY_NONUSER_ACCESS_TOKEN }} "${{ env.CHART_NAME }}-*.tgz" coralogix-charts --url ${{ env.ARTIFACTORY_URL }}