use docker plugin for build
This commit is contained in:
@@ -6,11 +6,11 @@ when:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker
|
||||
commands:
|
||||
- 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
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry:5000/sysmonstm
|
||||
registry: registry:5000
|
||||
tag: latest
|
||||
dockerfile: ctrl/standalone/Dockerfile
|
||||
context: ctrl/standalone
|
||||
insecure: true
|
||||
|
||||
Reference in New Issue
Block a user