Skip to content

Commit 25ec346

Browse files
GHA updates for helm & images build
- helm verne under ./verne folder (for seperating the verne and beametl charts) - images from secrets (was hardcoding in image tag earlier)
1 parent 82b12a9 commit 25ec346

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/helm-verne-chart-release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,19 @@ jobs:
3131
git fetch origin charts
3232
git checkout charts
3333
34-
- name: Copy packaged chart
34+
- name: Copy packaged chart into verne folder
3535
run: |
36-
cp /tmp/helm-charts/*.tgz .
36+
mkdir -p ./verne
37+
cp /tmp/helm-charts/*.tgz ./verne
3738
3839
- name: Generate Helm repo index
3940
run: |
40-
helm repo index . --url https://raw.githubusercontent.com/${{ github.repository }}/charts/
41+
helm repo index ./verne --url https://raw.githubusercontent.com/${{ github.repository }}/charts/verne
4142
42-
- name: Commit and push
43+
- name: Commit and push
4344
run: |
4445
git config user.name "github-actions[bot]"
4546
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
46-
git add *.tgz index.yaml
47-
git commit -m "Release chart from ${{ github.sha }}" || echo "No changes"
47+
git add ./verne
48+
git commit -m "Release verne chart from ${{ github.sha }}" || echo "No changes"
4849
git push origin charts

.github/workflows/k6-build-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
file: ./services/k6/Dockerfile
4444
push: true
4545
tags: |
46-
sardinesszsz/k6-verne:latest
46+
${{ secrets.K6_IMAGE }}:latest
4747
labels: ${{ steps.extractor.outputs.labels }}
4848

4949
- name: Generate artifact attestation

.github/workflows/listener-build-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
file: ./services/listener/Dockerfile
5353
push: true
5454
tags: |
55-
sardinesszsz/verne-listener:latest
55+
${{ secrets.LISTENER_IMAGE }}:latest
5656
labels: ${{ steps.extractor.outputs.labels }}
5757

5858
- name: Generate artifact attestation

0 commit comments

Comments
 (0)