diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1a94dbd8d..6dff926f9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,6 +9,7 @@ on: permissions: contents: write + packages: write jobs: release: @@ -24,10 +25,17 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Install Helm uses: azure/setup-helm@v4 with: - version: v3.12.0 + version: v3.16.0 - name: Retrieve version from Chart.yaml id: chart_version @@ -84,6 +92,15 @@ jobs: env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + - name: Push Chart to GHCR + run: | + for pkg in .cr-release-packages/*; do + if [ -z "${pkg:-}" ]; then + break + fi + helm push "${pkg}" oci://ghcr.io/jenkinsci/helm-charts + done + - name: Retrieve release info id: release_info if: steps.chart_releaser.outputs.changed_charts != '' diff --git a/charts/jenkins/CHANGELOG.md b/charts/jenkins/CHANGELOG.md index e0c60f323..2538a3f82 100644 --- a/charts/jenkins/CHANGELOG.md +++ b/charts/jenkins/CHANGELOG.md @@ -12,6 +12,10 @@ Use the following links to reference issues, PRs, and commits prior to v2.6.0. The changelog until v1.5.7 was auto-generated based on git commits. Those entries include a reference to the git commit to be able to get more details. +## 5.6.0 + +Helm chart is also now deployed on GitHub packages and can be installed from `oci://ghcr.io/jenkinsci/helm-charts/jenkins` + ## 5.5.16 Update `kubernetes` to version `4287.v73451380b_576` diff --git a/charts/jenkins/Chart.yaml b/charts/jenkins/Chart.yaml index 1e8a7311c..e1ae1cd32 100644 --- a/charts/jenkins/Chart.yaml +++ b/charts/jenkins/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: jenkins type: application home: https://www.jenkins.io/ -version: 5.5.16 +version: 5.6.0 appVersion: 2.462.2 description: > Jenkins - Build great things at any scale! As the leading open source automation server, Jenkins provides over 1800 plugins to support building, deploying and automating any project.