Skip to content

Commit 20f8e81

Browse files
authored
Merge pull request #71 from leaseweb/ci_fix_manifests
CI fix tag & manifests
2 parents 6f12330 + 331aa67 commit 20f8e81

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
env:
1212
REGISTRY: ghcr.io/leaseweb
1313
IMAGE_NAME: capi-cloudstack-controller
14-
TAG: build
1514

1615
jobs:
1716
push:
@@ -78,6 +77,11 @@ jobs:
7877
- name: Checkout code
7978
uses: actions/checkout@v4
8079

80+
- name: Sets env vars for tag
81+
run: |
82+
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' | sed -e 's/^v//')
83+
echo "TAG=${VERSION}" >> $GITHUB_ENV
84+
8185
- name: Build release manifests
8286
run: make release-manifests
8387

metadata.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
77
kind: Metadata
88
releaseSeries:
9+
- major: 0
10+
minor: 10
11+
contract: v1beta1
12+
- major: 0
13+
minor: 9
14+
contract: v1beta1
15+
- major: 0
16+
minor: 8
17+
contract: v1beta1
18+
- major: 0
19+
minor: 7
20+
contract: v1beta1
921
- major: 0
1022
minor: 6
1123
contract: v1beta1

0 commit comments

Comments
 (0)