Skip to content

Commit 3fe3e11

Browse files
committed
added GH action for publishing Ditto Helm chart to Docker Hub
Signed-off-by: Thomas Jäckle <[email protected]>
1 parent 086db15 commit 3fe3e11

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright (c) 2023 Contributors to the Eclipse Foundation
2+
#
3+
# See the NOTICE file(s) distributed with this work for additional
4+
# information regarding copyright ownership.
5+
#
6+
# This program and the accompanying materials are made available under the
7+
# terms of the Eclipse Public License 2.0 which is available at
8+
# http://www.eclipse.org/legal/epl-2.0
9+
#
10+
# SPDX-License-Identifier: EPL-2.0
11+
name: Release and publish Helm chart
12+
13+
on:
14+
workflow_dispatch:
15+
inputs:
16+
chartVersion:
17+
description: 'Helm chart version'
18+
required: true
19+
type: string
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Package and push Ditto Helm chart to Docker Hub
26+
uses: appany/[email protected]
27+
with:
28+
repository: eclipse
29+
name: ditto
30+
tag: ${{ inputs.chartVersion }}
31+
path: deployment/helm/ditto
32+
registry: registry-1.docker.io
33+
registry_username: eclipsedittobot
34+
registry_password: ${{ secrets.DOCKER_HUB_TOKEN }}

deployment/helm/ditto/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: |
1616
A digital twin is a virtual, cloud based, representation of his real world counterpart
1717
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
1818
type: application
19-
version: 3.3.0
19+
version: 0.0.1 # chart version is set by release-job
2020
appVersion: 3.2.1
2121
keywords:
2222
- iot-chart

0 commit comments

Comments
 (0)