Skip to content

Commit 4c9673f

Browse files
authored
Merge pull request #4 from LinuxSuRen/chore/oras
chore: fix the oras push
2 parents 9408a8d + 161a059 commit 4c9673f

File tree

4 files changed

+9
-580
lines changed

4 files changed

+9
-580
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
steps:
1919
- name: Checkout
20-
uses: actions/[email protected]
20+
uses: actions/[email protected]
21+
with:
22+
fetch-tags: true
23+
fetch-depth: 0
2124
- name: Set output
2225
id: vars
2326
run: echo "tag=$(git describe --tags)" >> $GITHUB_OUTPUT
@@ -36,8 +39,9 @@ jobs:
3639
if: github.ref != 'refs/heads/master'
3740
run: |
3841
export TAG=${{ steps.vars.outputs.tag }}
39-
oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} dist
40-
oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} dist
42+
cd dist
43+
oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
44+
oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
4145
4246
image:
4347
runs-on: ubuntu-20.04

.goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ builds:
1313
- linux
1414
- windows
1515
- darwin
16+
ignore:
17+
- goarch: 386
1618
ldflags:
1719
- -w
1820
- -s

go.mod

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,8 @@ require (
1212
)
1313

1414
require (
15-
github.com/BurntSushi/toml v0.3.1 // indirect
16-
github.com/andybalholm/brotli v1.0.5 // indirect
17-
github.com/fsnotify/fsnotify v1.5.4 // indirect
18-
github.com/golang/snappy v0.0.3 // indirect
19-
github.com/google/flatbuffers v2.0.0+incompatible // indirect
20-
github.com/hashicorp/errwrap v1.1.0 // indirect
21-
github.com/hashicorp/go-multierror v1.1.1 // indirect
22-
github.com/hashicorp/hcl v1.0.0 // indirect
23-
github.com/iancoleman/strcase v0.2.0 // indirect
2415
github.com/jhump/protoreflect v1.15.3 // indirect
25-
github.com/json-iterator/go v1.1.12 // indirect
26-
github.com/klauspost/compress v1.16.0 // indirect
27-
github.com/lestrrat-go/strftime v1.0.6 // indirect
28-
github.com/magiconair/properties v1.8.6 // indirect
29-
github.com/mitchellh/mapstructure v1.5.0 // indirect
30-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
31-
github.com/modern-go/reflect2 v1.0.2 // indirect
32-
github.com/panjf2000/ants/v2 v2.4.6 // indirect
33-
github.com/pelletier/go-toml v1.9.5 // indirect
34-
github.com/pelletier/go-toml/v2 v2.0.2 // indirect
35-
github.com/spf13/afero v1.8.2 // indirect
36-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
37-
github.com/spf13/viper v1.12.0 // indirect
38-
github.com/subosito/gotenv v1.4.0 // indirect
39-
github.com/valyala/bytebufferpool v1.0.0 // indirect
40-
github.com/valyala/fasthttp v1.43.0 // indirect
41-
go.uber.org/atomic v1.10.0 // indirect
42-
go.uber.org/automaxprocs v1.3.0 // indirect
43-
go.uber.org/multierr v1.9.0 // indirect
44-
go.uber.org/zap v1.24.0 // indirect
4516
google.golang.org/grpc v1.57.0 // indirect
46-
gopkg.in/ini.v1 v1.66.6 // indirect
47-
trpc.group/trpc-go/fbs v1.0.0 // indirect
48-
trpc.group/trpc-go/tnet v1.0.0 // indirect
49-
trpc.group/trpc-go/trpc-cmdline v1.0.5 // indirect
50-
trpc.group/trpc-go/trpc-go v1.0.1 // indirect
51-
trpc.group/trpc/trpc-protocol/pb/go/trpc v1.0.0 // indirect
5217
)
5318

5419
require (
@@ -59,33 +24,23 @@ require (
5924
github.com/beorn7/perks v1.0.1 // indirect
6025
github.com/bufbuild/protocompile v0.6.0 // indirect
6126
github.com/cespare/xxhash/v2 v2.2.0 // indirect
62-
github.com/cucumber/gherkin-go/v19 v19.0.3 // indirect
63-
github.com/cucumber/godog v0.12.6 // indirect
64-
github.com/cucumber/messages-go/v16 v16.0.1 // indirect
6527
github.com/davecgh/go-spew v1.1.1 // indirect
6628
github.com/expr-lang/expr v1.15.6 // indirect
6729
github.com/flopp/go-findfont v0.1.0 // indirect
6830
github.com/ghodss/yaml v1.0.0 // indirect
6931
github.com/go-sql-driver/mysql v1.7.0 // indirect
70-
github.com/gofrs/uuid v4.2.0+incompatible // indirect
7132
github.com/golang/protobuf v1.5.3 // indirect
7233
github.com/google/uuid v1.3.0 // indirect
7334
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
74-
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
75-
github.com/hashicorp/go-memdb v1.3.2 // indirect
76-
github.com/hashicorp/golang-lru v0.5.4 // indirect
7735
github.com/huandu/xstrings v1.3.3 // indirect
78-
github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 // indirect
7936
github.com/imdario/mergo v0.3.12 // indirect
8037
github.com/inconshreveable/mousetrap v1.1.0 // indirect
81-
github.com/invopop/jsonschema v0.7.0 // indirect
8238
github.com/jackc/pgpassfile v1.0.0 // indirect
8339
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
8440
github.com/jackc/pgx/v5 v5.4.3 // indirect
8541
github.com/jinzhu/inflection v1.0.0 // indirect
8642
github.com/jinzhu/now v1.1.5 // indirect
8743
github.com/linuxsuren/go-fake-runtime v0.0.4 // indirect
88-
github.com/linuxsuren/go-service v0.0.0-20231225060426-efabcd3a5161 // indirect
8944
github.com/linuxsuren/unstructured v0.0.1 // indirect
9045
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
9146
github.com/mitchellh/copystructure v1.0.0 // indirect

0 commit comments

Comments
 (0)