File tree Expand file tree Collapse file tree 13 files changed +127
-10
lines changed Expand file tree Collapse file tree 13 files changed +127
-10
lines changed Original file line number Diff line number Diff line change 1212# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313# See the License for the specific language governing permissions and
1414# limitations under the License.
15- FROM golang:1.19 -alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS builder
15+ FROM golang:1.21 -alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS builder
1616
1717# Install dependencies
1818RUN apk add --no-cache git bash curl zip
Original file line number Diff line number Diff line change 2121 branches : [main]
2222
2323env :
24- GO_VERSION : 1.19
24+ GO_VERSION : 1.21
2525 OAPI_CODEGEN_VERSION : v1.12.4
2626
2727jobs :
Original file line number Diff line number Diff line change 2828 - name : Set up Go 1.x
2929 uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3030 with :
31- go-version : 1.19
31+ go-version : 1.21
3232 - name : Run tests
3333 run : cd index/server && go test ./... -coverprofile cover.out
3434 - name : Codecov
Original file line number Diff line number Diff line change 3030 - name : Setup Go environment
3131 uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3232 with :
33- go-version : 1.19
33+ go-version : 1.21
3434 - name : Login to Quay
3535 uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
3636 with :
Original file line number Diff line number Diff line change 22
33<div id =" header " >
44
5- ![ Go] ( https://img.shields.io/badge/Go-1.19 -blue )
5+ ![ Go] ( https://img.shields.io/badge/Go-1.21 -blue )
66[ ![ Apache2.0 License] ( https://img.shields.io/badge/license-Apache2.0-brightgreen.svg )] ( LICENSE )
77[ ![ OpenSSF Best Practices] ( https://www.bestpractices.dev/projects/8257/badge )] ( https://www.bestpractices.dev/projects/8257 )
88[ ![ OpenSSF Scorecard] ( https://api.securityscorecards.dev/projects/github.com/devfile/registry-support/badge )] ( https://securityscorecards.dev/viewer/?uri=github.com/devfile/registry-support )
Original file line number Diff line number Diff line change 11module github.com/devfile/registry-support/index/generator
22
3- go 1.19
3+ go 1.21
44
55require (
66 github.com/devfile/api/v2 v2.2.2
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616# Index Server build stage
17- FROM golang:1.19 -alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS index-builder
17+ FROM golang:1.21 -alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS index-builder
1818WORKDIR /tools
1919COPY . .
2020RUN CGO_ENABLED=0 go build -mod=vendor -o index-server main.go
Original file line number Diff line number Diff line change 11module github.com/devfile/registry-support/index/server
22
3- go 1.19
3+ go 1.21
44
55require (
66 github.com/deepmap/oapi-codegen v1.12.4
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments