forked from rhobs/observability-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
43 lines (37 loc) · 989 Bytes
/
action.yaml
File metadata and controls
43 lines (37 loc) · 989 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
36
37
38
39
40
41
42
43
name: 'Publish package-operator package'
description: 'Publishes the operator as a package-operator package'
inputs:
quay_login:
description: "Quay login"
required: true
quay_token:
description: "Quay token"
required: true
runs:
using: composite
steps:
- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
- name: Install tools
uses: ./.github/tools-cache
- name: Registry Login
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ inputs.quay_login }}
password: ${{ inputs.quay_token }}
- name: Generate Package image
shell: bash
run: make package
- name: Publish Package
shell: bash
run: make package-push
- name: Generate Package image with kubeconfig option
shell: bash
run: make package-kubeconfig
- name: Publish Package with kubeconfig option
shell: bash
run: make package-push-kubeconfig