This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -11,13 +11,13 @@ steps:
|
|||||||
- go test ./...
|
- go test ./...
|
||||||
|
|
||||||
- name: build and push docker image
|
- name: build and push docker image
|
||||||
image: plugins/docker
|
image: docker:24
|
||||||
settings:
|
volumes:
|
||||||
repo: 172.21.0.1:5000/link-shortener
|
- name: dockersock
|
||||||
tags: latest
|
path: /var/run/docker.sock
|
||||||
dockerfile: dockerfile
|
commands:
|
||||||
registry: http://172.21.0.1:5000
|
- docker build -t localhost:5000/link-shortener:latest -f dockerfile .
|
||||||
insecure: true
|
- docker push localhost:5000/link-shortener:latest
|
||||||
|
|
||||||
- name: deploy with compose
|
- name: deploy with compose
|
||||||
image: docker:24
|
image: docker:24
|
||||||
|
|||||||
Reference in New Issue
Block a user