GithubHelp home page GithubHelp logo

mittwald / bump-app-version-action Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 3.0 27 KB

Github Action to set helm-chart version and publish to helm.mittwald.de

Dockerfile 6.42% Shell 93.58%
helm actions hacktoberfest

bump-app-version-action's Introduction

Bump App Version Action

Github Action to bump chartVersion and appVersion in Mittwald Helm Charts.

Optionally, the new chart version can be published to helm.mittwald.de.

The chart version is automatically determined using the GITHUB_REF environment variable: TAG="${GITHUB_REF##*/}".

Inputs

mode

If mode is publish, the resulting pipeline will be triggered to publish the new chart version to helm.mittwald.de.

version

version is the version to use for version and appVersion in the Chart.yaml.

chartYaml

Location to the Chart.yaml of the helm-chart relative to the repository root.

Env

GITHUB_TOKEN

Token to pull/push to the repo this action runs in.

HELM_REPO_USERNAME

Username to access the helm chart repository.

HELM_REPO_PASSWORD

Password to access the helm chart repository.

Usage

Include the action in your workflow:

name: Publish Chart

on:
  push:
    tags:
      - '*'

jobs:
  release:
    steps:
      - name: Run chart version bump
        uses: mittwald/bump-app-version-action@v1
        with:
          mode: 'publish'
          chartYaml: './deploy/chart/Chart.yaml'
        env:
          GITHUB_TOKEN: "${{ secrets.githubToken }}"
          HELM_REPO_PASSWORD: "${{ secrets.HELM_REPO_PASSWORD }}"

Contributing

New releases are always published as v1 beside their unique version number. This allows us to always use the latest version of this action without updating every workflow that uses this action.

git tag v1 --force
git tag v0.3.x
git push --tags --force

bump-app-version-action's People

Contributors

elenz97 avatar hensur avatar martin-helmich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.