Skip to content

chore(deps): Bump docker/login-action from 2 to 3 #53

chore(deps): Bump docker/login-action from 2 to 3

chore(deps): Bump docker/login-action from 2 to 3 #53

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