Parcourir la source

Clean deploy script

pull/443/head
Guillaume Vincent il y a 5 ans
Parent
révision
cbe415f7ee
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. +7
    -7
      containers/deploy

+ 7
- 7
containers/deploy Voir le fichier

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

Chargement…
Annuler
Enregistrer