push book to docker hub
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Cadey Ratio 2020-05-15 16:21:36 -04:00
parent cd86aaf844
commit 360d5d2894
2 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,14 @@ steps:
path: /var/run/docker.sock
commands:
- docker load -i /lewa/result/docker.tgz
- "docker tag within/lewa-book within/lewa-book:$DRONE_COMMIT"
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
- docker push within/lewa-book:$DRONE_COMMIT
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
volumes:
- name: book

View File

@ -34,7 +34,7 @@ let
'';
};
in pkgs.dockerTools.buildLayeredImage {
name = "xena/lewa-book";
name = "within/lewa-book";
tag = version;
contents = [ nur.repos.xe.quickserv book ];
config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ];