Skip to content

Commit

Permalink
Update example service
Browse files Browse the repository at this point in the history
  • Loading branch information
dvob committed Mar 30, 2021
1 parent fe09368 commit afe5e0a
Show file tree
Hide file tree
Showing 3 changed files with 322 additions and 86 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.15'
go-version: '1.16'

- uses: actions/checkout@v2

Expand All @@ -24,24 +24,21 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.15'
go-version: '1.16'

- uses: actions/checkout@v2

- name: Install Tools
env:
GO111MODULE: on
run: |
cd /tmp
go get github.com/google/ko/cmd/ko@v0.6.0
go install github.com/dvob/sko@v0.0.1
echo "$( go env GOPATH )/bin" >> $GITHUB_PATH
- name: Docker Hub Release
env:
KO_DOCKER_REPO: dvob
SKO_USER: dvob
SKO_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u dvob --password-stdin
ko publish -t "${GITHUB_REF##*/}" -t latest -B .
sko -tag "${GITHUB_REF##*/}" -tag latest dvob/k8s-s2s-auth .
- name: Github Release
env:
Expand Down
36 changes: 31 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,37 @@ go 1.15

require (
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/frankban/quicktest v1.11.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gnostic v0.5.4 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.6.8 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/vault/api v1.0.4
github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e // indirect
github.com/spf13/cobra v1.1.1
github.com/imdario/mergo v0.3.12 // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/pierrec/lz4 v2.6.0+incompatible // indirect
github.com/pquerna/cachecontrol v0.0.0-20201205024021-ac21108117ac // indirect
github.com/spf13/cobra v1.1.3
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
golang.org/x/net v0.0.0-20210329181859-df645c7b52b1 // indirect
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 // indirect
golang.org/x/sys v0.0.0-20210326220804-49726bf1d181 // indirect
golang.org/x/term v0.0.0-20210317153231-de623e64d2a6 // indirect
golang.org/x/text v0.3.5 // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/square/go-jose.v2 v2.5.1
k8s.io/api v0.19.2
k8s.io/apimachinery v0.19.2
k8s.io/client-go v0.19.2
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/api v0.20.5
k8s.io/apimachinery v0.20.5
k8s.io/client-go v0.20.5
k8s.io/klog/v2 v2.8.0 // indirect
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.1.0 // indirect
)
Loading

0 comments on commit afe5e0a

Please sign in to comment.