Skip to content

chore: update version string format and access.Ref value (#22) #41

chore: update version string format and access.Ref value (#22)

chore: update version string format and access.Ref value (#22) #41

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@v3
- 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