File tree 2 files changed +13
-15
lines changed
2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 5
5
tags :
6
6
- " v*"
7
7
env :
8
- REGISTRY : ghcr.io
9
- IMAGE_NAME : ${{ github.repository }}
8
+ REGISTRY : ghcr.io/${{ github.repository }}
10
9
GO_VERSION : " 1.20"
11
10
12
11
permissions :
50
49
uses : docker/metadata-action@v4
51
50
with :
52
51
github-token : ${{ secrets.GITHUB_TOKEN }}
53
- images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.target }}
52
+ images : ${{ env.REGISTRY }}/${{ matrix.target }}-controller
54
53
flavor : latest=false
55
54
tags : type=ref,event=tag
56
55
@@ -120,15 +119,13 @@ jobs:
120
119
with :
121
120
github-token : ${{ secrets.GITHUB_TOKEN }}
122
121
images : |
123
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- controlplane
124
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- bootstrap
122
+ ${{ env.REGISTRY }}/controlplane-controller
123
+ ${{ env.REGISTRY }}/bootstrap-controller
125
124
flavor : latest=false
126
125
tags : type=ref,event=tag
127
126
128
127
- name : manifest
129
128
run : |
130
- BOOTSTRAP_IMG_TAG=$RELEASE_TAG
131
- CONTROLPLANE_IMG_TAG=$RELEASE_TAG
132
129
make release
133
130
134
131
- name : manifest
Original file line number Diff line number Diff line change @@ -42,14 +42,6 @@ TOOLS_BIN_DIR := $(shell pwd)/$(BIN_DIR)
42
42
$(TOOLS_BIN_DIR ) :
43
43
mkdir -p $(TOOLS_BIN_DIR )
44
44
45
- # Image URL to use all building/pushing image targets
46
- BOOTSTRAP_IMG_TAG ?= v0.2.0
47
- BOOTSTRAP_IMG ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s/bootstrap-controller:$(BOOTSTRAP_IMG_TAG )
48
-
49
- # Image URL to use all building/pushing image targets
50
- CONTROLPLANE_IMG_TAG ?= v0.2.0
51
- CONTROLPLANE_IMG ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s/controlplane-controller:$(CONTROLPLANE_IMG_TAG )
52
-
53
45
54
46
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
55
47
CRD_OPTIONS ?= "crd:trivialVersions=true"
@@ -118,6 +110,15 @@ $(RELEASE_DIR):
118
110
$(RELEASE_NOTES_DIR ) :
119
111
mkdir -p $(RELEASE_NOTES_DIR ) /
120
112
113
+ REGISTRY ?= ghcr.io/cluster-api-provider-k3s/cluster-api-k3s
114
+
115
+ # Image URL to use all building/pushing image targets
116
+ BOOTSTRAP_IMG_TAG ?= $(RELEASE_TAG )
117
+ BOOTSTRAP_IMG ?= $(REGISTRY ) /bootstrap-controller:$(BOOTSTRAP_IMG_TAG )
118
+
119
+ # Image URL to use all building/pushing image targets
120
+ CONTROLPLANE_IMG_TAG ?= $(RELEASE_TAG )
121
+ CONTROLPLANE_IMG ?= $(REGISTRY ) /controlplane-controller:$(CONTROLPLANE_IMG_TAG )
121
122
122
123
all-bootstrap : manager-bootstrap
123
124
You can’t perform that action at this time.
0 commit comments