Merge pull request #470 from justinsb/makefile_update

Update Makefile to replace deprecated gcloud docker
This commit is contained in:
Kubernetes Prow Robot 2023-02-07 09:19:01 -08:00 committed by GitHub
commit 2452dfc83b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@ release: clean build push clean
# builds a docker image that builds the app and packages it into a minimal docker image
build:
docker build -t ${REGISTRY}/guestbook:${VERSION} .
docker buildx build --load -t ${REGISTRY}/guestbook:${VERSION} .
# push the image to an registry
push:
gcloud docker -- push ${REGISTRY}/guestbook:${VERSION}
docker buildx build --push -t ${REGISTRY}/guestbook:${VERSION} .
# remove previous images and containers
clean: