From cbe415f7eec147f96750017b132fc4e2f9ba3b89 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 1 Jul 2019 15:11:37 +0200 Subject: [PATCH] Clean deploy script --- containers/deploy | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/containers/deploy b/containers/deploy index bbca6f3..22b00ea 100755 --- a/containers/deploy +++ b/containers/deploy @@ -2,15 +2,15 @@ set -e VERSION="8.1.0" -podman login --username "${DOCKER_USERNAME}" --password "${DOCKER_PASSWORD}" quai.io +podman login --username "${QUAI_USERNAME}" --password "${QUAI_PASSWORD}" quai.io podman build --tag lesspass/webserver:${VERSION} --tag lesspass/webserver:latest ./webserver podman build --tag lesspass/frontend:${VERSION} --tag lesspass/frontend:latest ./frontend podman build --tag lesspass/backend:${VERSION} --tag lesspass/backend:latest ./backend podman images podman --version -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/webserver:${VERSION} docker://quai.io/lesspass/webserver -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/webserver:latest docker://quai.io/lesspass/webserver -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/frontend:${VERSION} docker://quai.io/lesspass/frontend -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/frontend:latest docker://quai.io/lesspass/frontend -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/backend:${VERSION} docker://quai.io/lesspass/backend -podman push --creds "${DOCKER_USERNAME}:${DOCKER_PASSWORD}" lesspass/backend:latest docker://quai.io/lesspass/backend \ No newline at end of file +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/webserver:${VERSION} docker://quai.io/lesspass/webserver +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/webserver:latest docker://quai.io/lesspass/webserver +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/frontend:${VERSION} docker://quai.io/lesspass/frontend +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/frontend:latest docker://quai.io/lesspass/frontend +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/backend:${VERSION} docker://quai.io/lesspass/backend +podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/backend:latest docker://quai.io/lesspass/backend \ No newline at end of file