Skip to content

Commit afe5e0a

Browse files
committed
Update example service
1 parent fe09368 commit afe5e0a

File tree

3 files changed

+322
-86
lines changed

3 files changed

+322
-86
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/setup-go@v1
1212
with:
13-
go-version: '1.15'
13+
go-version: '1.16'
1414

1515
- uses: actions/checkout@v2
1616

@@ -24,24 +24,21 @@ jobs:
2424
steps:
2525
- uses: actions/setup-go@v1
2626
with:
27-
go-version: '1.15'
27+
go-version: '1.16'
2828

2929
- uses: actions/checkout@v2
3030

3131
- name: Install Tools
32-
env:
33-
GO111MODULE: on
3432
run: |
35-
cd /tmp
36-
go get github.com/google/ko/cmd/ko@v0.6.0
33+
go install github.com/dvob/sko@v0.0.1
3734
echo "$( go env GOPATH )/bin" >> $GITHUB_PATH
3835
3936
- name: Docker Hub Release
4037
env:
41-
KO_DOCKER_REPO: dvob
38+
SKO_USER: dvob
39+
SKO_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
4240
run: |
43-
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u dvob --password-stdin
44-
ko publish -t "${GITHUB_REF##*/}" -t latest -B .
41+
sko -tag "${GITHUB_REF##*/}" -tag latest dvob/k8s-s2s-auth .
4542
4643
- name: Github Release
4744
env:

go.mod

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,37 @@ go 1.15
44

55
require (
66
github.com/coreos/go-oidc v2.2.1+incompatible
7+
github.com/frankban/quicktest v1.11.3 // indirect
8+
github.com/gogo/protobuf v1.3.2 // indirect
9+
github.com/golang/protobuf v1.5.2 // indirect
10+
github.com/golang/snappy v0.0.3 // indirect
11+
github.com/google/gofuzz v1.2.0 // indirect
12+
github.com/googleapis/gnostic v0.5.4 // indirect
13+
github.com/hashicorp/errwrap v1.1.0 // indirect
14+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
15+
github.com/hashicorp/go-multierror v1.1.1 // indirect
16+
github.com/hashicorp/go-retryablehttp v0.6.8 // indirect
17+
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
718
github.com/hashicorp/vault/api v1.0.4
8-
github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e // indirect
9-
github.com/spf13/cobra v1.1.1
19+
github.com/imdario/mergo v0.3.12 // indirect
20+
github.com/mitchellh/mapstructure v1.4.1 // indirect
21+
github.com/pierrec/lz4 v2.6.0+incompatible // indirect
22+
github.com/pquerna/cachecontrol v0.0.0-20201205024021-ac21108117ac // indirect
23+
github.com/spf13/cobra v1.1.3
24+
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
25+
golang.org/x/net v0.0.0-20210329181859-df645c7b52b1 // indirect
26+
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 // indirect
27+
golang.org/x/sys v0.0.0-20210326220804-49726bf1d181 // indirect
28+
golang.org/x/term v0.0.0-20210317153231-de623e64d2a6 // indirect
29+
golang.org/x/text v0.3.5 // indirect
30+
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
31+
google.golang.org/appengine v1.6.7 // indirect
1032
gopkg.in/square/go-jose.v2 v2.5.1
11-
k8s.io/api v0.19.2
12-
k8s.io/apimachinery v0.19.2
13-
k8s.io/client-go v0.19.2
33+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
34+
k8s.io/api v0.20.5
35+
k8s.io/apimachinery v0.20.5
36+
k8s.io/client-go v0.20.5
37+
k8s.io/klog/v2 v2.8.0 // indirect
38+
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10 // indirect
39+
sigs.k8s.io/structured-merge-diff/v4 v4.1.0 // indirect
1440
)

0 commit comments

Comments
 (0)