Merge pull request #21 from controlplaneio-fluxcd/update-charts #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'image tag prefix' | |
default: 'rc' | |
required: true | |
permissions: | |
contents: read | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # for creating the GitHub release. | |
id-token: write # for creating OIDC tokens for signing. | |
packages: write # for pushing and signing container images. | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Helm | |
uses: azure/[email protected] | |
- name: Login to GitHub Container Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Package Helm charts | |
run: make package | |
- name: Push Helm charts | |
run: make push |