mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Bump up the go-migrate (#13914)
Bump it up to v4.11.0 to be consistent with harbor-core Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
parent
2d4456c630
commit
1b64b9fdc2
2
Makefile
2
Makefile
@ -102,7 +102,7 @@ PREPARE_VERSION_NAME=versions
|
||||
#versions
|
||||
REGISTRYVERSION=v2.7.1-patch-2819-2553-redis
|
||||
NOTARYVERSION=v0.6.1
|
||||
NOTARYMIGRATEVERSION=v3.5.4
|
||||
NOTARYMIGRATEVERSION=v4.11.0
|
||||
TRIVYVERSION=v0.14.0
|
||||
TRIVYADAPTERVERSION=v0.17.0
|
||||
|
||||
|
@ -20,10 +20,7 @@ RUN cp -r /go/src/${NOTARYPKG}/migrations/ /
|
||||
RUN git clone -b $MIGRATE_VERSION https://github.com/golang-migrate/migrate /go/src/${MIGRATEPKG}
|
||||
WORKDIR /go/src/${MIGRATEPKG}
|
||||
|
||||
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && chmod +x /usr/local/bin/dep
|
||||
RUN dep ensure -vendor-only
|
||||
|
||||
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse"
|
||||
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb"
|
||||
ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage"
|
||||
|
||||
RUN go install -tags "$DATABASES $SOURCES" -ldflags="-X main.Version=${MIGRATE_VERSION}" ${MIGRATEPKG}/cli && mv /go/bin/cli /go/bin/migrate
|
||||
|
Loading…
Reference in New Issue
Block a user