fix: remove schema copiyng from Dockerfile
This commit is contained in:
parent
3676b5fe36
commit
61fc75afd3
@ -25,7 +25,8 @@ migrate-staging:
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $STAGING_BRANCH"
|
||||
script:
|
||||
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@penahub.gitlab.yandexcloud.net:backend/quiz/common.git
|
||||
- apk add git
|
||||
- git clone https://buildToken:glpat-axA8ttckx3aPf_xd2Dym@penahub.gitlab.yandexcloud.net/backend/quiz/common.git
|
||||
- ls
|
||||
- ./tools/migrate -source file://dal/schema -database postgres://squiz:Redalert2@10.8.0.5:5433/database_name?sslmode=disable
|
||||
|
||||
|
@ -10,7 +10,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o amocrm ./cmd/main.go
|
||||
|
||||
FROM alpine as prod
|
||||
COPY --from=build /app/amocrm .
|
||||
COPY --from=build /app/schema /schema
|
||||
EXPOSE 1488
|
||||
ENV IS_PROD_LOG=false
|
||||
ENV IS_PROD=false
|
||||
|
Loading…
Reference in New Issue
Block a user