Skip to content

chore: release chart 0.2.2 (#12) #2

chore: release chart 0.2.2 (#12)

chore: release chart 0.2.2 (#12) #2

Workflow file for this run

#
# Copyright (c) 2024 - for information on the respective copyright owner
# see the NOTICE file and/or the repository https://github.com/carbynestack/thymus.
#
# SPDX-License-Identifier: Apache-2.0
#
name: Publish Chart
on:
push:
tags:
- "chart-v[0-9]+.[0-9]+.[0-9]+"
env:
REGISTRY: ghcr.io
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get version
run: echo "VERSION=${GITHUB_REF#refs/*/chart-v}" >> $GITHUB_ENV
- name: Log in to container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Helm Chart
uses: appany/[email protected]
with:
name: thymus
repository: carbynestack
tag: ${{ env.VERSION }}
path: charts/thymus
registry: ${{ env.REGISTRY }}
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}