Skip to content

Commit be349a8

Browse files
authored
Updated Go to 1.22.7 to fix vulnerabilities (#1069)
* Bumped to to 1.24 to fix vulnerability * Bumped to to 1.22.7 to fix vulnerability * Bumped to to 1.22.7 to fix vulnerability * Bumped to to 1.22.7 to fix vulnerability * Fixing issues * Fixing issues * Fixing issues * Fixing issues * Fixing issues * Fixing issues * Fixing issues
1 parent 08f2afe commit be349a8

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
# The goreleaser image tag determins the version of Go.
137137
# Manually check goreleaser images for their version of Go.
138138
# Ref: https://hub.docker.com/r/goreleaser/goreleaser/tags
139-
- image: goreleaser/goreleaser:v1.20.0
139+
- image: goreleaser/goreleaser:v2.3.2
140140
steps:
141141
- checkout
142142
- setup_remote_docker

.goreleaser.yml.envsubst

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
checksum:
23
name_template: 'checksums.txt'
34
changelog:
@@ -51,11 +52,12 @@ brews:
5152
- name: polaris
5253
# This is replaced using `envsubst`, depending on the git branch.
5354
skip_upload: ${skip_release}
54-
tap:
55+
repository:
5556
owner: FairwindsOps
5657
name: homebrew-tap
57-
folder: Formula
58+
directory: Formula
5859
description: Open Source Best Practices for Kubernetes
60+
url_template: "https://github.com/FairwindsOps/polaris/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
5961
test: |
6062
system "#{bin}/polaris version"
6163
dockers:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fairwindsops/polaris
22

3-
go 1.22.3
3+
go 1.22.7
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.7

scripts/goreleaser.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ echo "${this_script} using git tag ${GORELEASER_CURRENT_TAG}"
5555
# Only substitute specific variables, as goreleaser uses shell variable syntax
5656
# for its `signs` section `signature` and `artifact` variables.
5757
cat .goreleaser.yml.envsubst |envsubst '${skip_release} ${skip_feature_docker_tags} ${feature_docker_tag}' >.goreleaser.yml
58-
goreleaser $@
58+
goreleaser --skip=sign $@
5959
if [ $? -eq 0 ] ; then
6060
echo "${this_script} removing the temporary .goreleaser.yml since goreleaser was successful"
6161
rm .goreleaser.yml # Keep git clean for additional goreleaser runs

0 commit comments

Comments
 (0)