Skip to content

Commit b1e8923

Browse files
ekarlsoekarlso
andauthored
Fix release tagging (#47)
Signed-off-by: Endre Karlson <[email protected]> Co-authored-by: ekarlso <[email protected]>
1 parent 80058e0 commit b1e8923

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ jobs:
126126
tags: type=ref,event=tag
127127

128128
- name: manifest
129-
run: make release
129+
run: |
130+
BOOTSTRAP_IMG_TAG=$RELEASE_TAG
131+
CONTROLPLANE_IMG_TAG=$RELEASE_TAG
132+
make release
130133
131134
- name: manifest
132135
run: make release-notes

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ $(TOOLS_BIN_DIR):
4343
mkdir -p $(TOOLS_BIN_DIR)
4444

4545
# Image URL to use all building/pushing image targets
46+
BOOTSTRAP_IMG_TAG ?= v0.2.0
4647
BOOTSTRAP_IMG ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s/bootstrap-controller:v0.2.0
4748

4849
# Image URL to use all building/pushing image targets
49-
CONTROLPLANE_IMG ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s/controlplane-controller:v0.2.0
50+
CONTROLPLANE_IMG_TAG ?= v0.2.0
51+
CONTROLPLANE_IMG ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s/controlplane-controller:$(CONTROLPLANE_IMG_TAG)
5052

5153

5254
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)

0 commit comments

Comments
 (0)