Skip to content

Commit

Permalink
Tweak minor things in .goreleaser.yml, Dockerfile, plugin.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hypnoglow committed Jul 18, 2022
1 parent 23d6043 commit 5d35379
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
builds:
- main: ./cmd/helms3
binary: ./bin/helms3
flags:
- -trimpath
env:
- CGO_ENABLED=0
targets:
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
ARG GO_VERSION=1.17
ARG HELM_VERSION

FROM golang:1.17-alpine as build
FROM golang:${GO_VERSION}-alpine as build

ARG PLUGIN_VERSION

RUN apk add --no-cache git

WORKDIR /workspace/helm-s3

COPY . .

RUN apk add --no-cache git

RUN CGO_ENABLED=0 go build -o bin/helms3 \
-mod=vendor \
-ldflags "-X main.version=${PLUGIN_VERSION}" \
Expand Down
3 changes: 1 addition & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: "s3"
version: "0.12.0"
usage: "Manage chart repositories on Amazon S3"
description: |-
The plugin allows to use s3 protocol to upload, fetch charts and to work with repositories.
https://github.com/hypnoglow/helm-s3
Provides AWS S3 protocol support for charts and repos. https://github.com/hypnoglow/helm-s3
command: "$HELM_PLUGIN_DIR/bin/helms3"
downloaders:
- command: "bin/helms3"
Expand Down

0 comments on commit 5d35379

Please sign in to comment.