-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 15fe2bb
Showing
14 changed files
with
1,755 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
issues: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: git fetch --force --tags | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: stable | ||
- uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
env: | ||
- PROJECT_DESCRIPTION= | ||
- PROJECT_HOMEPAGE=https://stenic.io | ||
- LICENSE=MIT | ||
|
||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- "386" | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goarm: | ||
- "6" | ||
- "7" | ||
mod_timestamp: '{{ .CommitTimestamp }}' | ||
flags: | ||
- -trimpath | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
archives: | ||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
files: | ||
- README.md | ||
- LICENSE | ||
|
||
brews: | ||
- tap: | ||
owner: stenic | ||
name: homebrew-tap | ||
folder: Formula | ||
homepage: "{{ .Env.PROJECT_HOMEPAGE }}" | ||
description: "{{ .Env.PROJECT_DESCRIPTION }}" | ||
license: "{{ .Env.LICENSE }}" | ||
test: | | ||
system "#{bin}/{{ .ProjectName }} -v" | ||
dependencies: [] | ||
install: |- | ||
bin.install "{{ .ProjectName }}" | ||
scoop: | ||
bucket: | ||
owner: stenic | ||
name: scoop-bucket | ||
homepage: "{{ .Env.PROJECT_HOMEPAGE }}" | ||
description: "{{ .Env.PROJECT_DESCRIPTION }}" | ||
license: "{{ .Env.LICENSE }}" | ||
|
||
# nfpms: | ||
# - file_name_template: '{{ .ConventionalFileName }}' | ||
# id: packages | ||
# homepage: "{{ .Env.PROJECT_HOMEPAGE }}" | ||
# description: "{{ .Env.PROJECT_DESCRIPTION }}" | ||
# maintainer: Dries De Peuter <[email protected]> | ||
# license: "{{ .Env.LICENSE }}" | ||
# vendor: Stenic | ||
# formats: | ||
# - apk | ||
# - deb | ||
# - rpm | ||
# dependencies: [] | ||
# recommends: [] | ||
|
||
# snapcrafts: | ||
# - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' | ||
# summary: "{{ .Env.PROJECT_DESCRIPTION }}" | ||
# description: "{{ .Env.PROJECT_DESCRIPTION }}" | ||
# grade: devel | ||
# confinement: strict | ||
# publish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
module regclean | ||
|
||
go 1.20 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go-v2/config v1.19.1 | ||
github.com/aws/aws-sdk-go-v2/service/ecr v1.20.2 | ||
github.com/charmbracelet/bubbletea v0.24.2 | ||
github.com/dustin/go-humanize v1.0.1 | ||
github.com/eko/gocache/lib/v4 v4.1.5 | ||
github.com/fatih/color v1.6.0 | ||
github.com/gofrs/flock v0.8.1 | ||
github.com/heroku/docker-registry-client v0.0.0-20211012143308-9463674c8930 | ||
github.com/manifoldco/promptui v0.9.0 | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/spf13/cobra v0.0.2 | ||
github.com/vbauerster/mpb v3.4.0+incompatible | ||
github.com/vbauerster/mpb/v8 v8.6.2 | ||
k8s.io/api v0.28.3 | ||
k8s.io/apimachinery v0.28.3 | ||
k8s.io/client-go v0.28.3 | ||
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 | ||
) | ||
|
||
require ( | ||
github.com/VividCortex/ewma v1.2.0 // indirect | ||
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.21.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.13.43 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 // indirect | ||
github.com/aws/smithy-go v1.15.0 // indirect | ||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect | ||
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/docker/distribution v0.0.0-20171011171712-7484e51bf6af // indirect | ||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect | ||
github.com/emicklei/go-restful/v3 v3.9.0 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.6 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/swag v0.22.3 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/mock v1.6.0 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gnostic-models v0.6.8 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/imdario/mergo v0.3.6 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/mattn/go-colorable v0.0.9 // indirect | ||
github.com/mattn/go-isatty v0.0.18 // indirect | ||
github.com/mattn/go-localereader v0.0.1 // indirect | ||
github.com/mattn/go-runewidth v0.0.15 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect | ||
github.com/muesli/cancelreader v0.2.2 // indirect | ||
github.com/muesli/reflow v0.3.0 // indirect | ||
github.com/muesli/termenv v0.15.1 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect | ||
github.com/prometheus/client_golang v1.14.0 // indirect | ||
github.com/prometheus/client_model v0.3.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/rivo/uniseg v0.4.4 // indirect | ||
github.com/schollz/progressbar/v3 v3.13.1 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9 // indirect | ||
golang.org/x/net v0.17.0 // indirect | ||
golang.org/x/oauth2 v0.8.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.13.0 // indirect | ||
golang.org/x/term v0.13.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/protobuf v1.30.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/klog/v2 v2.100.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) |
Oops, something went wrong.