add build and push to registry

This commit is contained in:
buenosairesam
2026-01-02 21:38:12 -03:00
parent f5548e31a1
commit 220e34cad4

View File

@@ -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