Skip to content

fix(ui): also show validation errors in package config form (#933) #16

fix(ui): also show validation errors in package config form (#933)

fix(ui): also show validation errors in package config form (#933) #16

Workflow file for this run

name: Update Changelog & Release
on:
push:
branches:
- main
- "[0-9]+.[0-9]+.x"
tags:
- "v?[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "v?[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "v?[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
workflow_dispatch:
jobs:
release-please:
permissions:
contents: write # for googleapis/release-please-action to create release commit
pull-requests: write # for googleapis/release-please-action to create release PR
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release-please.outputs.releases_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Release Please
id: release-please
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
with:
token: ${{ secrets.GLASSKUBE_BOT_SECRET }}
goreleaser:
permissions:
contents: write
runs-on: ubuntu-latest
needs:
- release-please
if: ${{ needs.release-please.outputs.releases_created == 'true' || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3
with:
registry: ghcr.io
username: glasskube-bot
password: ${{ secrets.GLASSKUBE_BOT_SECRET }}
- name: Setup qemu
uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
go-version: "1.22.x"
- name: Set up node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: "20.9"
cache: npm
- name: Install dependencies
run: npm ci
- name: Set up kubectl
uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4
with:
version: "v1.29.1"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GLASSKUBE_BOT_SECRET }}