Skip to content

Commit f69da3b

Browse files
authored
Merge pull request #1902 from fluxcd/attempt-update-hugo
Upgrade go to 1.21, clean up build issues
2 parents d03ebfe + 178a80f commit f69da3b

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG HUGO_VERSION
22
FROM fluxcd/website:hugo-${HUGO_VERSION}-extended
3-
COPY --from=golang:1.19-alpine /usr/local/go/ /usr/local/go/
3+
COPY --from=golang:1.21-alpine /usr/local/go/ /usr/local/go/
44

55
ENV PATH="/usr/local/go/bin:${PATH}"
66

content/en/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
community.md
33
contributing.md
44
governance.md
5+
kubecon.md
56
security.md

go.mod

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

3-
go 1.18
3+
go 1.21
44

55
require (
66
github.com/google/docsy v0.6.0 // indirect

hugo.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ outputFormats:
8484
SearchIndex:
8585
baseName: index
8686
mediaType: application/json
87+
isPlainText: true
88+
notAlternative: true
8789

8890
outputs:
8991
home: [HTML, SearchIndex]
90-
page: [HTML, SearchIndex]
92+
page: [HTML]
9193

9294
params:
9395
description: Open and extensible continuous delivery solution for Kubernetes.

0 commit comments

Comments
 (0)