Skip to content

chore(deps): Bump github.com/go-logr/logr in /ocm-updater (#50) #101

chore(deps): Bump github.com/go-logr/logr in /ocm-updater (#50)

chore(deps): Bump github.com/go-logr/logr in /ocm-updater (#50) #101

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@v5
with:
go-version: '1.20'
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
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