Skip to content

Commit

Permalink
Jenkins Helm chart is now also published to GitHub packages registry …
Browse files Browse the repository at this point in the history
…(oci://ghcr.io/jenkinsci/helm-charts/jenkins) (#1196)
  • Loading branch information
jonesbusy authored Sep 12, 2024
1 parent 1e51f36 commit e5123d4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

permissions:
contents: write
packages: write

jobs:
release:
Expand All @@ -24,10 +25,17 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- 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
Expand Down Expand Up @@ -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 != ''
Expand Down
4 changes: 4 additions & 0 deletions charts/jenkins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion charts/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e5123d4

Please sign in to comment.