Skip to content

Commit

Permalink
image names
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Dec 18, 2023
1 parent 0981dc8 commit 01839ee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: europe-west2-docker.pkg.dev/platform-poc-rust/inventory-service
repository: europe-west2-docker.pkg.dev/platform-poc-rust/inventory-service/inventory-service
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: europe-west2-docker.pkg.dev/platform-poc-rust/notification-service
repository: europe-west2-docker.pkg.dev/platform-poc-rust/notification-service/notification-service
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down
2 changes: 1 addition & 1 deletion rust-containers-k8s/deployment/order-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: europe-west2-docker.pkg.dev/platform-poc-rust/order-service
repository: europe-west2-docker.pkg.dev/platform-poc-rust/order-service/order-service
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down
2 changes: 1 addition & 1 deletion rust-containers-k8s/deployment/product-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: europe-west2-docker.pkg.dev/platform-poc-rust/product-service
repository: europe-west2-docker.pkg.dev/platform-poc-rust/product-service/product-service
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand Down
4 changes: 2 additions & 2 deletions rust-containers-k8s/scripts/build_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

set -euo pipefail

registry=europe-west2-docker.pkg.dev
host=europe-west2-docker.pkg.dev
project=platform-poc-rust
sha="$(git rev-parse --short HEAD)"

for service in *-service; do
tag="${registry}/${project}/${service}:${sha}"
tag="${host}/${project}/${service}/${service}:${sha}"

pushd "$service"

Expand Down

0 comments on commit 01839ee

Please sign in to comment.