Skip to content

Release

Release #66

Workflow file for this run

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