-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (32 loc) · 915 Bytes
/
_publishing.yml
File metadata and controls
36 lines (32 loc) · 915 Bytes
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
name: Publishing
on:
workflow_call:
inputs:
publishType:
required: true
type: string
secrets:
HARBOR_USER:
description: "Username for Harbor access"
HARBOR_SECRET:
description: "Key for Harbor access"
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Environment Variables
uses: "./.github/workflows/setup"
- name: Publish
uses: "./.github/workflows/publish"
with:
publishType: ${{ inputs.publishType }}
env:
HARBOR_USER: ${{ secrets.HARBOR_USER }}
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}
- name: Update Version Information
if: ${{ inputs.publishType == 'release' }}
uses: "./.github/workflows/update-release-info"
with:
releaseVersion: ${{ env.jv2Version }}