diff --git a/.github/workflows/build-publish-image.yml b/.github/workflows/build-publish-image.yml index d2035cea2..2cda0f176 100644 --- a/.github/workflows/build-publish-image.yml +++ b/.github/workflows/build-publish-image.yml @@ -11,7 +11,6 @@ permissions: contents: write packages: write - env: REGISTRY: ghcr.io GO_VERSION: '1.20' diff --git a/Makefile b/Makefile index e29c38a65..6bfc6085b 100644 --- a/Makefile +++ b/Makefile @@ -195,6 +195,7 @@ release-manifest: @sed -i -e "s/version: .*/version: ${IMG_TAG}/" ./charts/kdm/Chart.yaml @sed -i -e "s/tag: .*/tag: ${IMG_TAG}/" ./charts/kdm/values.yaml @sed -i -e 's/IMG_TAG=.*/IMG_TAG=${IMG_TAG}/' ./charts/README.md + @sed -i -e 's/IMG_TAG=.*/IMG_TAG=${IMG_TAG}/' ./README.md git checkout -b release-${VERSION} - git add ./Makefile ./charts/kdm/Chart.yaml ./charts/kdm/values.yaml ./charts/README.md + git add ./Makefile ./charts/kdm/Chart.yaml ./charts/kdm/values.yaml ./charts/README.md ./README.md git commit -s -m "release: update manifest and helm charts for ${VERSION}" diff --git a/README.md b/README.md index 63059238d..6e46fa0c4 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ AZURE_CLUSTER_NAME= make az-perm az-patch-skaffold-kubenet ```bash export REGISTRY= export IMG_NAME=kdm +export IMG_TAG=0.0.1 make docker-build-kdm ``` @@ -43,7 +44,7 @@ make docker-build-kdm ```bash helm install --namespace kdm --create-namespace \ - kdm --set image.repository=${REGISTRY}/$(IMG_NAME) ./charts/kdm + kdm-workspace --set image.repository=${REGISTRY}/$(IMG_NAME) --set image.tag=$(IMG_TAG) ./charts/kdm ``` 5. Run KDM workspace example