This commit is contained in:
parent
f231d913c9
commit
f51d4a4d3d
14
.drone.yml
14
.drone.yml
@ -44,7 +44,19 @@ steps:
|
||||
commands:
|
||||
- cd drone
|
||||
- rm .dockerignore
|
||||
- docker build -t registry.jfmonty2.com/drone:latest -f docker/Dockerfile.server.linux.amd64 .
|
||||
- docker build -t registry.jfmonty2.com/drone-server:latest -f docker/Dockerfile.server.linux.amd64 .
|
||||
|
||||
- name: deploy
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- name: docker-socket
|
||||
path: /var/run/docker.sock
|
||||
environment:
|
||||
REGISTRY_PWD:
|
||||
from_secret: registry_pwd
|
||||
commands:
|
||||
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
|
||||
- docker push registry.jfmonty2.com/drone-server:latest
|
||||
|
||||
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user