-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
3 changed files
with
159 additions
and
65 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 |
---|---|---|
@@ -1,20 +1,14 @@ | ||
FROM arigaio/atlas:latest-alpine as atlas | ||
|
||
FROM golang:1.20 as build | ||
FROM golang:1.21 as build | ||
|
||
WORKDIR /go/src/app | ||
COPY . . | ||
|
||
RUN go mod download | ||
|
||
RUN CGO_ENABLED=0 go build -o /go/bin/app | ||
|
||
FROM gcr.io/distroless/static-debian11 | ||
|
||
ENV PATH="/bin" | ||
RUN go build -o /go/bin/app | ||
|
||
COPY --from=atlas /atlas /bin | ||
|
||
COPY --from=build /go/bin/app / | ||
|
||
CMD ["/app"] | ||
CMD ["/go/bin/app"] |
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 |
---|---|---|
@@ -1,26 +1,45 @@ | ||
module github.com/ariga/atlas-deploy-action | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
toolchain go1.21.2 | ||
|
||
require ( | ||
ariga.io/atlas-go-sdk v0.1.0 | ||
ariga.io/atlas v0.14.3-0.20231010104048-0c071bfc9161 | ||
ariga.io/atlas-go-sdk v0.1.1-0.20231011100517-4211cc50a84f | ||
github.com/mattn/go-sqlite3 v1.14.17 | ||
github.com/sethvargo/go-githubactions v1.1.0 | ||
github.com/stretchr/testify v1.8.4 | ||
) | ||
|
||
require ( | ||
ariga.io/atlas v0.12.1 // indirect | ||
github.com/agext/levenshtein v1.2.1 // indirect | ||
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect | ||
ariga.io/atlas/cmd/atlas v0.13.2-0.20231010104048-0c071bfc9161 // indirect | ||
github.com/agext/levenshtein v1.2.3 // indirect | ||
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect | ||
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect | ||
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-openapi/inflect v0.19.0 // indirect | ||
github.com/google/go-cmp v0.5.8 // indirect | ||
github.com/hashicorp/hcl/v2 v2.10.0 // indirect | ||
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/hashicorp/hcl/v2 v2.18.1 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect | ||
github.com/pganalyze/pg_query_go/v4 v4.2.3 // indirect | ||
github.com/pingcap/errors v0.11.5-0.20210425183316-da1aaba5fb63 // indirect | ||
github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c // indirect | ||
github.com/pingcap/log v1.1.0 // indirect | ||
github.com/pingcap/tidb/parser v0.0.0-20231010115255-ec2731b8f539 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect | ||
github.com/sethvargo/go-envconfig v0.9.0 // indirect | ||
github.com/zclconf/go-cty v1.8.0 // indirect | ||
golang.org/x/text v0.8.0 // indirect | ||
github.com/zclconf/go-cty v1.14.1 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
go.uber.org/zap v1.26.0 // indirect | ||
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect | ||
golang.org/x/mod v0.13.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.