This commit is contained in:
+7
-7
@@ -4,13 +4,13 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: build-and-push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: localhost:5000
|
||||
repo: localhost:5000/testapp
|
||||
tags: latest
|
||||
dockerfile: Dockerfile
|
||||
insecure: true
|
||||
image: docker:cli
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker build -t localhost:5000/testapp:latest .
|
||||
- docker push localhost:5000/testapp:latest
|
||||
|
||||
- name: deploy
|
||||
image: docker:cli
|
||||
|
||||
Reference in New Issue
Block a user