1
0
Fork 0

squash image
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniel Wolf 2020-01-03 19:36:52 -05:00
parent b4ec2ce8b3
commit 37554e65b1
No known key found for this signature in database
GPG Key ID: E8FEA551AA478F9A
1 changed files with 2 additions and 1 deletions

View File

@ -10,10 +10,11 @@ platform:
steps:
- name: build
commands:
- docker build --pull -t pdr.nephatrine.net/nephatrine/docker-registry:latest .
- docker build --pull --squash -t pdr.nephatrine.net/nephatrine/docker-registry:latest .
- HOME=/mnt/config/home docker push pdr.nephatrine.net/nephatrine/docker-registry:latest
- docker tag pdr.nephatrine.net/nephatrine/docker-registry:latest nephatrine/docker-registry:latest
- HOME=/mnt/config/home docker push nephatrine/docker-registry:latest
- docker rmi pdr.nephatrine.net/nephatrine/docker-registry:latest
---
kind: pipeline