

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Docker
incomplete
2: Continuous Deployment
incomplete
3: Google Cloud Platform
incomplete
4: Google Cloud SDK
incomplete
5: Google Artifact Registry
incomplete
6: Automate Builds
incomplete
This lesson's interactive features are locked, please to keep using them
We'll be using Google Artifact Registry to store our Docker images. It's similar to Docker Hub, but it's private and it's hosted on GCP.
Whenever we create a new version of Notely, we'll build it into a new Docker image version and push that to Artifact Registry.
The image hosting region from earlier, and service deployment region we are targeting now, may not necessarily be the same region. Cloud providers provide flexibility with availability zones, so that engineers can pick and choose the most optimal regions for your system.
gcloud builds submit --tag REGION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG .
Run and submit the CLI tests from the root of your repo.
You can copy/paste your actual value for the tag from your Artifact Registry repo page in the GCP console.
If the gcloud command responds with an error about permissions, simply check that the image was uploaded to the new registry. We will take care of permissions in a future step.