Skip to content

Deploy Instructions

Candace Williams edited this page Dec 8, 2022 · 2 revisions

Deployment Instructions

  • Checkout the main branch
  • Test image locally
docker compose up

docker compose down
  • Build a Linux Docker container:
docker buildx build -t spheri-cloud:2.0 --platform linux/amd64 .
  • Find and document the Docker image ID
docker images
  • Navigate to Google Artifact Registry and copy-paste the link to the repo
  • Fill in the information to this tag command and run the command
docker tag {IMAGE IDE} {REPO LINK FROM REGISTRY}/spheri-cloud:{TAG NUMBER LIKE '2.0'}
  • Check image list to see if it is tagged properly
  • Fill in the information and run this push command
docker push {REPO LINK FROM REGISTRY}/spheri-cloud:{GIVEN TAG}
  • Check and see if the image is in the Artifact Registry repo
  • Make sure secrets have been updated in Google Secret Manager

Direct Deploy

  • Add the image as a revision and deploy (remember to apply secrets)
  • Test that it works

Coming soon

  • CI/CD with GitHub Actions
Clone this wiki locally