Skip to content

Release

Release #22

Workflow file for this run

name: Release
on:
workflow_run:
workflows: ["Lint Commit Messages"]
branches:
- main
- beta
types:
- completed
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup helm
uses: azure/setup-helm@v3
with:
version: "v3.11.1"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
REGISTRY_USERNAME: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: |-
#!/bin/bash
set -e
# add more plugins: https://semantic-release.gitbook.io/semantic-release/extending/plugins-list
npm install @semantic-release/github @semantic-release/exec @semantic-release/git semantic-release-helm3 -D
npx -c semantic-release