add build
This commit is contained in:
parent
0d4df54f7e
commit
d7e1989dae
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
pelican
|
||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
*.o
|
||||||
|
output/
|
||||||
|
node_modules/
|
||||||
|
.venv/
|
15
.gitlab-ci.yaml
Normal file
15
.gitlab-ci.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
image: docker:19.03.12
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- docker info
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- docker build -t $CI_REGISTRY_IMAGE:${TAG:-latest} .
|
||||||
|
- docker push $CI_REGISTRY_IMAGE:${TAG:-latest}
|
Loading…
Reference in New Issue
Block a user