mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Signed-off-by: Jack Yu <jack.yu@suse.com> (cherry picked from commit de4edbbf3b47496cf8f4757e7a1f8280862a36de) Co-authored-by: Jack Yu <jack.yu@suse.com>
36 lines
674 B
YAML
36 lines
674 B
YAML
name: Build Harvester Catalog Image and Publish on Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [published]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
working-directory: ./
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Run tests
|
|
uses: ./.github/actions/lint
|
|
|
|
build-and-push-extension-catalog:
|
|
needs: lint
|
|
uses: ./.github/workflows/build-extension-catalog.yml
|
|
permissions:
|
|
actions: write
|
|
contents: read
|
|
packages: write
|
|
id-token: write
|
|
with:
|
|
registry_target: docker.io
|
|
registry_user: rancher
|
|
secrets: inherit
|