Merge pull request #2 from kitsteam/improve-docker-ignore
This commit is contained in:
commit
a4004e8707
@ -1,18 +1,10 @@
|
||||
.dockerignore
|
||||
.editorconfig
|
||||
.env*
|
||||
.git
|
||||
.github
|
||||
.gitignore
|
||||
.prettier*
|
||||
.vscode
|
||||
ca/*.crt
|
||||
ca/*.key
|
||||
ca/*.pem
|
||||
ca/*.req
|
||||
docker-compose*
|
||||
Dockerfile*
|
||||
LICENSE
|
||||
dist*
|
||||
node_modules*
|
||||
README.md
|
||||
*
|
||||
!.eslintrc.js
|
||||
!.prettierrc
|
||||
!nest-cli.json
|
||||
!src/
|
||||
!test/
|
||||
!package-lock.json
|
||||
!package.json
|
||||
!tsconfig.build.json
|
||||
!tsconfig.json
|
@ -1,36 +0,0 @@
|
||||
include:
|
||||
- project: "to-be-continuous/docker"
|
||||
ref: "2.0.0"
|
||||
file: "/templates/gitlab-ci-docker.yml"
|
||||
|
||||
variables:
|
||||
PROD_REF: "/^main$/"
|
||||
AUTODEPLOY_TO_PROD: "true" # Always publish
|
||||
|
||||
DOCKER_REGISTRY_RELEASE_USER: kiliandeca
|
||||
# DOCKER_REGISTRY_RELEASE_PASSWORD: # Defined in CI/CD Settings
|
||||
DOCKER_RELEASE_IMAGE: docker.io/kiliandeca/excalidraw-storage-backend:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
- package-build
|
||||
- package-test
|
||||
- publish
|
||||
|
||||
.node-template:
|
||||
image: node:14-alpine
|
||||
before_script:
|
||||
- npm ci --cache .npm --prefer-offline
|
||||
cache:
|
||||
key: npm-cache
|
||||
paths:
|
||||
- .npm-cache
|
||||
|
||||
node-build:
|
||||
stage: build
|
||||
extends: .node-template
|
||||
script:
|
||||
- npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
- dist
|
Loading…
x
Reference in New Issue
Block a user