Skip to content

Commit 7dbe849

Browse files
fix(k8s): use correct targets for Docker image build (#1709)
* Update kubernetes.md The Dockerfile in current version calls the targets `app_php` and `app_caddy`, I don't know where the `pwa` part is anymore. * Update deployment/kubernetes.md --------- Co-authored-by: Alan Poulain <contact@alanpoulain.eu>
1 parent e1686d6 commit 7dbe849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deployment/kubernetes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ If you do not have gcloud yet, install it with these command.
3636
Versioning: The 0.1.0 is the version. This value should be the same as the attribute `appVersion` in `Chart.yaml`.
3737
Infos for [Google Container pulling and pushing](https://cloud.google.com/container-registry/docs/pushing-and-pulling)
3838

39-
docker build -t gcr.io/test-api-platform/php:0.1.0 -t gcr.io/test-api-platform/php:latest api --target api_platform_php
40-
docker build -t gcr.io/test-api-platform/caddy:0.1.0 -t gcr.io/test-api-platform/caddy:latest api --target api_platform_caddy
41-
docker build -t gcr.io/test-api-platform/pwa:0.1.0 -t gcr.io/test-api-platform/pwa:latest pwa --target api_platform_pwa_prod
39+
docker build -t gcr.io/test-api-platform/php:0.1.0 -t gcr.io/test-api-platform/php:latest api --target app_php
40+
docker build -t gcr.io/test-api-platform/caddy:0.1.0 -t gcr.io/test-api-platform/caddy:latest api --target app_caddy
41+
docker build -t gcr.io/test-api-platform/pwa:0.1.0 -t gcr.io/test-api-platform/pwa:latest pwa --target prod
4242

4343
#### 2. Push your images to your Docker registry
4444

0 commit comments

Comments
 (0)