From e3001d1b5a4350b479a288bbae1892ce518ae0d9 Mon Sep 17 00:00:00 2001 From: Farrukh Sadykov Date: Fri, 8 Sep 2023 18:19:05 -0500 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index cbef437..8a2ad16 100644 --- a/README.md +++ b/README.md @@ -59,19 +59,27 @@ cd chart ``` https://github.com/farrukh90/artemis/tree/master ``` -## Following this commands - ## 1. Clone repo - ``` - git clone https://github.com/farrukh90/artemis.git - ``` - ## 2. Build image following commands - ``` - * git chekout 2.0.0 +Pushing a docker image + +Clone this repo +git clone https://github.com/farrukh90/artemis.git + +Change the branch to specific version e.g 2.0.0 +git checkout 2.0.0 + +Get repo location from Google +Google Console >> Search for Artifact registry >> Artemis >> Repo link copy + +Build a docker image +docker image build -t us-central1-docker.pkg.dev/terraform-project-382315/artemis/artemis:2.0.0 . + +Authenticate to Registry +gcloud auth configure-docker us-central1-docker.pkg.dev - * docker image build -t "artemis repo from GCP"/artemis:2.0.0 . +Push an image +docker push us-central1-docker.pkg.dev/terraform-project-382315/artemis/artemis:2.0.0 - * docker push "artemis repo from GCP"/artemis:2.0.0 ``` ## Output should be like this