Przeglądaj źródła

Clean deploy script

pull/443/head
Guillaume Vincent 5 lat temu
rodzic
commit
cbe415f7ee
1 zmienionych plików z 7 dodań i 7 usunięć
  1. +7
    -7
      containers/deploy

+ 7
- 7
containers/deploy Wyświetl plik

@@ -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
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

Ładowanie…
Anuluj
Zapisz