14 lines
513 B
YAML
14 lines
513 B
YAML
|
when:
|
||
|
- event: push
|
||
|
|
||
|
steps:
|
||
|
- name: Build & Push
|
||
|
image: git.baalajimaestro.me/baalajimaestro/build-runner
|
||
|
commands:
|
||
|
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
||
|
- echo $DOCKER_PASSWORD | docker login git.baalajimaestro.me --username ${CI_REPO_OWNER} --password-stdin
|
||
|
- docker build . -t git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
||
|
- docker push git.baalajimaestro.me/baalajimaestro/obsolute-paste:latest
|
||
|
secrets: [ docker_password ]
|
||
|
privileged: true
|