push book to docker hub
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
cd86aaf844
commit
360d5d2894
|
@ -23,6 +23,14 @@ steps:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker load -i /lewa/result/docker.tgz
|
- 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:
|
volumes:
|
||||||
- name: book
|
- name: book
|
||||||
|
|
|
@ -34,7 +34,7 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in pkgs.dockerTools.buildLayeredImage {
|
in pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "xena/lewa-book";
|
name = "within/lewa-book";
|
||||||
tag = version;
|
tag = version;
|
||||||
contents = [ nur.repos.xe.quickserv book ];
|
contents = [ nur.repos.xe.quickserv book ];
|
||||||
config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ];
|
config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ];
|
||||||
|
|
Loading…
Reference in New Issue