Skip to content

Commit 201c85d

Browse files
authored
chore: Additional actions fixes (#14)
* Additional actions fixes * bump version
1 parent db3a687 commit 201c85d

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

.github/workflows/license-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Check Go Dependency Licenses
22

33
on:
4+
pull_request:
45
workflow_call: {}
56
push:
67
tags:
@@ -10,7 +11,6 @@ on:
1011
paths:
1112
- go.mod
1213
- go.sum
13-
pull_request:
1414

1515
permissions:
1616
contents: read

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Build Images
7777
run: |
78-
IMAGE_REGISTRY=ghcr.io/sap/metrics-operator make docker-build
78+
IMG=ghcr.io/sap/metrics-operator:${{ env.version }} make docker-build
7979
8080
- name: setup OCM
8181
uses: open-component-model/ocm-setup-action@main

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ jobs:
116116
if: ${{ env.SKIP != 'true' }}
117117
run: |
118118
echo "${{ env.version }}-dev" > VERSION
119+
make helm-chart
119120
git config user.name "${{ env.AUTHOR_NAME }}"
120121
git config user.email "${{ env.AUTHOR_EMAIL }}"
121-
git add VERSION
122+
git add VERSION charts/metrics-operator/Chart.yaml charts/metrics-operator/values.yaml
122123
git commit -m "Update VERSION to ${{ env.version }}-dev"
123124
git push origin main

.github/workflows/reuse-scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
name: REUSE Compliance Check
44

55
on:
6+
pull_request:
67
workflow_call: {}
78
push:
89
branches:
910
- main
10-
pull_request:
1111

1212

1313
jobs:

.github/workflows/reviewable.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
name: make reviewable && make check-Diff
44

55
on:
6+
pull_request:
67
workflow_call: {}
78
push:
89
tags:
910
- v*
1011
branches:
1112
- main
12-
pull_request:
13+
1314
env:
1415
GO_IMPORT_VERSION: 'v0.16.1'
1516

@@ -46,7 +47,7 @@ jobs:
4647
run: make check-diff
4748

4849
- name: run tests
49-
run: make tests
50+
run: make test
5051

5152
- name: build
5253
run: make build

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.5.0-dev
1+
v0.5.1

charts/metrics-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: metrics-operator
33
description: A Helm chart for the metrics-operator
44
type: application
5-
version: v0.5.0
6-
appVersion: v0.5.0
5+
version: v0.5.1
6+
appVersion: v0.5.1

charts/metrics-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ image:
88
repository: deploy-releases-hyperspace-docker.common.cdn.repositories.cloud.sap/cloud-orchestration/co-metrics-operator
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
11-
tag: v0.5.0
11+
tag: v0.5.1
1212

1313
imagePullSecrets: []
1414
nameOverride: ""

0 commit comments

Comments
 (0)