Add a gitlab-ci.yml to build and push
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
5a0f3c5dda
commit
bcf7ef44c5
1 changed files with 7 additions and 0 deletions
7
.gitlab-ci.yml
Normal file
7
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
docker-build:
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
||||||
|
script:
|
||||||
|
- docker build . -t registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
||||||
|
- docker push registry.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
Loading…
Reference in a new issue