Skip to content

Commit

Permalink
Reinstate helm chart build job
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Oct 29, 2024
1 parent 2001294 commit 80a88fd
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build-push-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@ jobs:
tags: ${{ steps.image-meta.outputs.tags }}
labels: ${{ steps.image-meta.outputs.labels }}

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

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

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

0 comments on commit 80a88fd

Please sign in to comment.