Skip to content

Commit

Permalink
added GH action for publishing Ditto Helm chart to Docker Hub
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
  • Loading branch information
thjaeckle committed May 22, 2023
1 parent 086db15 commit 3fe3e11
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
name: Release and publish Helm chart

on:
workflow_dispatch:
inputs:
chartVersion:
description: 'Helm chart version'
required: true
type: string

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Package and push Ditto Helm chart to Docker Hub
uses: appany/helm-oci-chart-releaser@v0.3.0
with:
repository: eclipse
name: ditto
tag: ${{ inputs.chartVersion }}
path: deployment/helm/ditto
registry: registry-1.docker.io
registry_username: eclipsedittobot
registry_password: ${{ secrets.DOCKER_HUB_TOKEN }}
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.3.0
version: 0.0.1 # chart version is set by release-job
appVersion: 3.2.1
keywords:
- iot-chart
Expand Down

0 comments on commit 3fe3e11

Please sign in to comment.