Skip to content

Commit

Permalink
fix: reformat entrypoint to array and also set new release to Chart file
Browse files Browse the repository at this point in the history
  • Loading branch information
4ch3los committed Oct 1, 2024
1 parent 62752a4 commit e3a3139
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM alpine
ARG TARGETARCH
COPY release/linux_${TARGETARCH}/kubermatic-argocd-bridge /usr/local/bin/kubermatic-argocd-bridge

ENTRYPOINT "/usr/local/bin/kubermatic-argocd-bridge"
ENTRYPOINT ["/usr/local/bin/kubermatic-argocd-bridge"]
11 changes: 10 additions & 1 deletion prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ yq '.image.tag = env(VERSION)' chart/values.yaml > chart/values.yaml.new_tag
diff chart/values.yaml.old_tag chart/values.yaml.new_tag > chart/values.yaml.diff
patch chart/values.yaml < chart/values.yaml.diff

rm chart/values.yaml.*
rm chart/values.yaml.*


yq chart/Chart.yaml > chart/Chart.yaml.old_tag
yq '.version = env(VERSION) | .appVersion = env(VERSION)' chart/Chart.yaml > chart/Chart.yaml.new_tag

diff chart/Chart.yaml.old_tag chart/Chart.yaml.new_tag > chart/Chart.yaml.diff
patch chart/Chart.yaml < chart/Chart.yaml.diff

rm chart/Chart.yaml.*

0 comments on commit e3a3139

Please sign in to comment.