use docker plugin for build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user