-
Notifications
You must be signed in to change notification settings - Fork 56
41 lines (36 loc) · 1 KB
/
publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "Publish to the Extension Registry"
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "platforms/**"
- "extensions/**"
- "patch.sh"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Set up JBang
uses: jbangdev/setup-jbang@main
- name: Run Publish Catalog script
run: |
jbang trust add https://github.com/quarkusio/
jbang catalog_publish@quarkusio --working-directory=. --all
env:
REGISTRY_URL: ${{ secrets.REGISTRY_URL }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
- name: Patch the registry
run: ./patch.sh
env:
REGISTRY_URL: ${{ secrets.REGISTRY_URL }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}