Skip to content

Commit 80a88fd

Browse files
committed
Reinstate helm chart build job
1 parent 2001294 commit 80a88fd

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/build-push-artifacts.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,28 +72,28 @@ jobs:
7272
tags: ${{ steps.image-meta.outputs.tags }}
7373
labels: ${{ steps.image-meta.outputs.labels }}
7474

75-
# # Job to build and publish Helm chart
76-
# build_push_chart:
77-
# name: Build and push Helm chart
78-
# runs-on: ubuntu-latest
79-
# # Only build and push the chart if chart files have changed
80-
# needs: [changes]
81-
# if: ${{ needs.changes.outputs.chart == 'true' || github.ref_type == 'tag' }}
82-
# steps:
83-
# - name: Check out the repository
84-
# uses: actions/checkout@v4
85-
# with:
86-
# # This is important for the semver action to work correctly
87-
# # when determining the number of commits since the last tag
88-
# fetch-depth: 0
75+
# Job to build and publish Helm chart
76+
build_push_chart:
77+
name: Build and push Helm chart
78+
runs-on: ubuntu-latest
79+
# Only build and push the chart if chart files have changed
80+
needs: [changes]
81+
if: ${{ needs.changes.outputs.chart == 'true' || github.ref_type == 'tag' }}
82+
steps:
83+
- name: Check out the repository
84+
uses: actions/checkout@v4
85+
with:
86+
# This is important for the semver action to work correctly
87+
# when determining the number of commits since the last tag
88+
fetch-depth: 0
8989

90-
# - name: Get SemVer version for current commit
91-
# id: semver
92-
# uses: azimuth-cloud/github-actions/semver@master
90+
- name: Get SemVer version for current commit
91+
id: semver
92+
uses: azimuth-cloud/github-actions/semver@master
9393

94-
# - name: Publish Helm charts
95-
# uses: azimuth-cloud/github-actions/helm-publish@master
96-
# with:
97-
# token: ${{ secrets.GITHUB_TOKEN }}
98-
# version: ${{ steps.semver.outputs.version }}
99-
# app-version: ${{ steps.semver.outputs.short-sha }}
94+
- name: Publish Helm charts
95+
uses: azimuth-cloud/github-actions/helm-publish@master
96+
with:
97+
token: ${{ secrets.GITHUB_TOKEN }}
98+
version: ${{ steps.semver.outputs.version }}
99+
app-version: ${{ steps.semver.outputs.short-sha }}

0 commit comments

Comments
 (0)