Push to docker hub
This commit is contained in:
parent
4fe7638e13
commit
7497885a0d
1 changed files with 11 additions and 0 deletions
11
.drone.yml
11
.drone.yml
|
@ -14,3 +14,14 @@ steps:
|
|||
- name: build
|
||||
commands:
|
||||
- docker build -t gcrkrause/cryptpad:$(git submodule status | awk -F"[()]" '{print $2}') . --no-cache
|
||||
- docker tag gcrkrause/cryptpad gcrkrause/cryptpad:latest
|
||||
- name: push
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: docker-hub-user
|
||||
PASSWORD:
|
||||
from_secret: docker-hub-pw
|
||||
commands:
|
||||
- docker login -u $USERNAME -p $PASSWORD
|
||||
- docker push gcrkrause/cryptpad:latest
|
||||
- docker push gcrkrause/cryptpad:$(git submodule status | awk -F"[()]" '{print $2}')
|
||||
|
|
Loading…
Reference in a new issue