diff --git a/.github/actions/build-image/action.yaml b/.github/actions/build-image/action.yaml index 1cec541b..7be9d258 100644 --- a/.github/actions/build-image/action.yaml +++ b/.github/actions/build-image/action.yaml @@ -5,6 +5,9 @@ inputs: image_tag: description: The image tag required: true + tag_latest: + description: Tag latest as well as the provided tag + default: "false" token: description: Github token required: true @@ -42,4 +45,4 @@ runs: --push +build --GIT_TAG=${{ inputs.image_tag }} - --IMAGE_NAME=ghcr.io/${{ github.repository }}:${{ inputs.image_tag }} + --IMAGE_NAME="ghcr.io/${{ github.repository }}:${{ inputs.image_tag }} ${{ inputs.tag_latest != 'false' && format('ghcr.io/{0}:latest', github.repository) || '' }}" diff --git a/.github/workflows/on_release_published.yaml b/.github/workflows/on_release_published.yaml index 857e38c4..7d9e0328 100644 --- a/.github/workflows/on_release_published.yaml +++ b/.github/workflows/on_release_published.yaml @@ -19,4 +19,5 @@ jobs: - uses: ./.github/actions/build-image with: image_tag: ${{ github.ref_name }} + tag_latest: true token: ${{ secrets.GITHUB_TOKEN }} diff --git a/charts/kubechecks/Chart.yaml b/charts/kubechecks/Chart.yaml index 2e1c7b31..47779854 100644 --- a/charts/kubechecks/Chart.yaml +++ b/charts/kubechecks/Chart.yaml @@ -1,8 +1,7 @@ apiVersion: v2 name: kubechecks description: A Helm chart for kubechecks -version: 0.4.3 -appVersion: "1.3.3" +version: 0.4.4 type: application maintainers: - name: zapier diff --git a/charts/kubechecks/values.yaml b/charts/kubechecks/values.yaml index 9a11138a..dfb78940 100644 --- a/charts/kubechecks/values.yaml +++ b/charts/kubechecks/values.yaml @@ -40,7 +40,7 @@ deployment: image: pullPolicy: Always name: "ghcr.io/zapier/kubechecks" - tag: "" # Defaults to the .Chart.AppVersion + tag: "latest" # Defaults to the .Chart.AppVersion imagePullSecrets: []