Skip to content

chore(deps): Bump actions/checkout from 3 to 4 (#30) #49

chore(deps): Bump actions/checkout from 3 to 4 (#30)

chore(deps): Bump actions/checkout from 3 to 4 (#30) #49

Workflow file for this run

name: Publish component
on:
release:
types:
- published
push:
branches:
- main
tags:
- v*
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
types:
- labeled
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
buildAndPush:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate component
run: make component-descriptor
- name: Publish component
if: github.event_name != 'pull_request'
run: make publish-component-descriptor