Skip to content

Commit b7d95be

Browse files
committed
use build-ko/setup-ko, go 1.19, add package comment.
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
1 parent 03ecc4f commit b7d95be

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/kind-scaffolding-e2e-createtree.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
2828
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
2929
with:
30-
go-version: '1.17'
30+
go-version: '1.19'
3131
check-latest: true
3232

33-
- uses: imjasonh/setup-ko@2c3450ca27f6e6f2b02e72a40f2163c281a1f675 # v0.4
33+
- uses: ko-build/setup-ko@v0.6
3434

3535
- name: Install yq
3636
uses: mikefarah/yq@70403375d7b96075bd68b40c434807cff1593568 # v4.25.1

cmd/createtree-k8s/main.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
// Copyright 2022 The Sigstore Authors
1+
// Copyright 2023 Google LLC. All Rights Reserved.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// http://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// Package main contains the implementation and entry point for the
16+
// creating a tree in Trillian and adding it into a ConfigMap.
17+
// More details and use cases are in:
18+
// ../../examples/deployment/kubernetes/README-SCAFFOLDING.md
1519
package main
1620

1721
import (

0 commit comments

Comments
 (0)