add build and push to registry
This commit is contained in:
@@ -5,9 +5,12 @@ when:
|
||||
- event: manual
|
||||
|
||||
steps:
|
||||
- name: notify
|
||||
image: alpine
|
||||
- name: build
|
||||
image: docker
|
||||
commands:
|
||||
- echo === sysmonstm ===
|
||||
- echo $CI_COMMIT_BRANCH
|
||||
- echo $CI_COMMIT_SHA
|
||||
- echo === Building sysmonstm ===
|
||||
- docker build -t registry:5000/sysmonstm:latest -f ctrl/standalone/Dockerfile ctrl/standalone/
|
||||
- docker push registry:5000/sysmonstm:latest
|
||||
- echo === Done ===
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Reference in New Issue
Block a user