25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
1.1 KiB

  1. #!/usr/bin/env bash
  2. set -e
  3. VERSION="9.0.0"
  4. podman login --username "${QUAI_USERNAME}" --password "${QUAI_PASSWORD}" quai.io
  5. podman build --tag lesspass/webserver:${VERSION} --tag lesspass/webserver:latest ./webserver
  6. podman build --tag lesspass/frontend:${VERSION} --tag lesspass/frontend:latest ./frontend
  7. podman build --tag lesspass/backend:${VERSION} --tag lesspass/backend:latest ./backend
  8. podman images
  9. podman --version
  10. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/webserver:${VERSION} docker://quai.io/lesspass/webserver
  11. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/webserver:latest docker://quai.io/lesspass/webserver
  12. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/frontend:${VERSION} docker://quai.io/lesspass/frontend
  13. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/frontend:latest docker://quai.io/lesspass/frontend
  14. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/backend:${VERSION} docker://quai.io/lesspass/backend
  15. podman push --creds "${QUAI_USERNAME}:${QUAI_PASSWORD}" lesspass/backend:latest docker://quai.io/lesspass/backend