diff --git a/.github/workflows/ko-build-tag.yaml b/.github/workflows/ko-build-tag.yaml index e8a046e..5bf4c5b 100644 --- a/.github/workflows/ko-build-tag.yaml +++ b/.github/workflows/ko-build-tag.yaml @@ -28,7 +28,7 @@ jobs: chart_version: ${{ steps.prepare.outputs.chart_version }} steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Prepare versions and chart name id: prepare @@ -36,7 +36,7 @@ jobs: set -euo pipefail APP_VERSION=$(echo ${{ github.ref_name }} | sed 's/v//g') CHART_NAME="$(yq '.name' charts/*/Chart.yaml)" - CHART_VERSION="$(yq '.version' charts/*/Chart.yaml)" + CHART_VERSION=$(echo ${{ github.ref_name }} | sed 's/v//g') { echo "app_version=$APP_VERSION" echo "chart_name=$CHART_NAME" @@ -82,11 +82,11 @@ jobs: image_name: ${{ steps.publish-ghcr.outputs.image_name }} steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Publish Chart to GHCR id: publish-ghcr - uses: linuxfoundation/lfx-public-workflows/.github/actions/helm-chart-oci-publisher@c465d6571fa0b8be9d551d902955164ea04a00af # main + uses: linuxfoundation/lfx-public-workflows/.github/actions/helm-chart-oci-publisher@17e4144d7ba68f7c3e8c16eece5aed15fd7c2dc8 # main with: name: ${{ needs.publish.outputs.chart_name }} repository: ${{ github.repository }}/chart @@ -97,12 +97,12 @@ jobs: registry_password: ${{ secrets.GITHUB_TOKEN }} - name: Install Cosign - uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2 + uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2 with: cosign-release: "${{ env.COSIGN_VERSION }}" - name: Login to GitHub - uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 + uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/charts/lfx-v2-mailing-list-service/Chart.yaml b/charts/lfx-v2-mailing-list-service/Chart.yaml index b947cc8..3a6015c 100644 --- a/charts/lfx-v2-mailing-list-service/Chart.yaml +++ b/charts/lfx-v2-mailing-list-service/Chart.yaml @@ -5,5 +5,7 @@ apiVersion: v2 name: lfx-v2-mailing-list-service description: LFX Platform V2 Mailing List Service chart type: application -version: 0.1.9 +# This version should not be incremented, as it is dynamically replaced with the release version during the chart build +# job. +version: 0.0.1 appVersion: "latest"