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