-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from lukaszbudnik/dev-v4.0
migrator v4.0
- Loading branch information
Showing
41 changed files
with
2,402 additions
and
2,027 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 |
---|---|---|
|
@@ -12,7 +12,6 @@ services: | |
- mysql | ||
|
||
go: | ||
- "1.10" | ||
- "1.11" | ||
- "1.12" | ||
- "1.13" | ||
|
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,4 +1,4 @@ | ||
FROM golang:1.11.2-alpine3.8 as builder | ||
FROM golang:1.13.5-alpine3.10 as builder | ||
|
||
MAINTAINER Łukasz Budnik [email protected] | ||
|
||
|
@@ -14,7 +14,7 @@ RUN cd /go/src/github.com/lukaszbudnik/migrator && \ | |
GIT_COMMIT_SHA=$(git rev-list -1 HEAD) && \ | ||
go build -ldflags "-X main.GitCommitDate=$GIT_COMMIT_DATE -X main.GitCommitSha=$GIT_COMMIT_SHA -X main.GitBranch=$GIT_BRANCH" | ||
|
||
FROM alpine:3.8 | ||
FROM alpine:3.10 | ||
COPY --from=builder /go/src/github.com/lukaszbudnik/migrator/migrator /bin | ||
|
||
VOLUME ["/data"] | ||
|
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,9 +1,9 @@ | ||
FROM golang:1.11.2-alpine3.8 as builder | ||
FROM golang:1.13.5-alpine3.10 as builder | ||
|
||
MAINTAINER Łukasz Budnik [email protected] | ||
|
||
# use "--build-arg SOURCE_BRANCH=migrator-v3" to override at build time | ||
# docker build -f TestDockerfile --build-arg SOURCE_BRANCH=migrator-v3 -t migratortest:v1 . | ||
# use "--build-arg SOURCE_BRANCH=dev" to override at build time | ||
# docker build -f TestDockerfile --build-arg SOURCE_BRANCH=dev -t migrator-local:dev . | ||
ARG SOURCE_BRANCH=master | ||
|
||
# git is required | ||
|
@@ -25,7 +25,7 @@ RUN cd /go/src/github.com/lukaszbudnik/migrator && \ | |
GIT_COMMIT_SHA=$(git rev-list -1 HEAD) && \ | ||
go build -ldflags "-X main.GitCommitDate=$GIT_COMMIT_DATE -X main.GitCommitSha=$GIT_COMMIT_SHA -X main.GitBranch=$GIT_BRANCH" | ||
|
||
FROM alpine:3.8 | ||
FROM alpine:3.10 | ||
COPY --from=builder /go/src/github.com/lukaszbudnik/migrator/migrator /bin | ||
|
||
VOLUME ["/data"] | ||
|
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
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
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
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
Oops, something went wrong.