diff --git a/CHANGELOG.md b/CHANGELOG.md index 129508bf..915cea7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.16.2] - 2024-07-26 + +### Changed + +- Go updated to 1.22.5 + [Refs: [#448](https://github.com/hypnoglow/helm-s3/pull/448)] + ## [0.16.1] - 2024-07-16 ### Changed diff --git a/Dockerfile b/Dockerfile index 64f4bf08..0090d871 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.22 +ARG GO_VERSION=1.22.5 ARG HELM_VERSION FROM golang:${GO_VERSION}-alpine as build @@ -11,9 +11,12 @@ WORKDIR /workspace/helm-s3 COPY . . -RUN CGO_ENABLED=0 go build -o bin/helm-s3 \ +RUN CGO_ENABLED=0 \ + go build \ + -trimpath \ -mod=vendor \ -ldflags "-X main.version=${PLUGIN_VERSION}" \ + -o bin/helm-s3 \ ./cmd/helm-s3 # Correct the plugin manifest with docker-specific fixes: diff --git a/Makefile b/Makefile index a7af1bd1..5c54b341 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ all: deps build .PHONY: deps deps: @go mod tidy - @go mod vendor .PHONY: build build: diff --git a/README.md b/README.md index b6f5f019..2f95b4ae 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The installation itself is simple as: You can install a specific release version: - $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.16.1 + $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.16.2 To use the plugin, you do not need any special dependencies. The installer will download versioned release with prebuilt binary from [github releases](https://github.com/hypnoglow/helm-s3/releases). diff --git a/go.mod b/go.mod index b3348ef9..2c031e0e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hypnoglow/helm-s3 -go 1.22.0 +go 1.22.5 require ( github.com/Masterminds/semver v1.5.0 diff --git a/plugin.yaml b/plugin.yaml index 63cce2bd..771d76f6 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "s3" -version: "0.16.1" +version: "0.16.2" usage: "Manage chart repositories on Amazon S3" description: |- Provides AWS S3 protocol support for charts and repos. https://github.com/hypnoglow/helm-s3 diff --git a/website/content/docs/advanced-features/index.md b/website/content/docs/advanced-features/index.md index 4f821597..d89f4724 100644 --- a/website/content/docs/advanced-features/index.md +++ b/website/content/docs/advanced-features/index.md @@ -8,7 +8,7 @@ summary: | ## Relative chart URLs -Charts can be `push`-ed with `--releative` flag so their URLs in the index file +Charts can be `push`-ed with `--relative` flag so their URLs in the index file will be relative to your repository root. This can be useful in various scenarios, e.g. serving charts via HTTP, serving charts from replicated buckets, etc. diff --git a/website/content/docs/install/index.md b/website/content/docs/install/index.md index 265f9831..1e19956a 100644 --- a/website/content/docs/install/index.md +++ b/website/content/docs/install/index.md @@ -10,7 +10,7 @@ The installation itself is simple as: You can install a specific release version: - $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.16.0 + $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.16.2