use docker plugin for build

This commit is contained in:
buenosairesam
2026-01-02 21:42:00 -03:00
parent 17be9d19a4
commit 5e4d006a03

View File

@@ -6,11 +6,11 @@ when:
steps: steps:
- name: build - name: build
image: docker image: plugins/docker
commands: settings:
- echo === Building sysmonstm === repo: registry:5000/sysmonstm
- docker build -t registry:5000/sysmonstm:latest -f ctrl/standalone/Dockerfile ctrl/standalone/ registry: registry:5000
- docker push registry:5000/sysmonstm:latest tag: latest
- echo === Done === dockerfile: ctrl/standalone/Dockerfile
volumes: context: ctrl/standalone
- /var/run/docker.sock:/var/run/docker.sock insecure: true