Skip to content

Commit

Permalink
Update Go version to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Apr 1, 2024
1 parent 4be9fcb commit abea233
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM registry.access.redhat.com/ubi9/go-toolset:1.18.9 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset:1.20.12 AS builder

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ case "$*" in
(*-cover*) build_flags="-v -cover";;
esac

go build ${build_flags} -ldflags="-X 'main.BuildTime=$buildtime' -X 'main.BuildVersion=$version' -X 'main.BuildBranch=$branch' -X 'main.BuildCommit=$commit' -X 'main.UtilsVersion=$utils_version' -X 'main.OCPRulesVersion=$ocp_rules_version'"
go build ${build_flags} -buildvcs=false -ldflags="-X 'main.BuildTime=$buildtime' -X 'main.BuildVersion=$version' -X 'main.BuildBranch=$branch' -X 'main.BuildCommit=$commit' -X 'main.UtilsVersion=$utils_version' -X 'main.OCPRulesVersion=$ocp_rules_version'"
exit $?
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/RedHatInsights/insights-content-service

go 1.16
go 1.20

require (
github.com/BurntSushi/toml v1.3.2
Expand Down

0 comments on commit abea233

Please sign in to comment.