Update Makefile to replace deprecated gcloud docker

More modernization to get this running again.
This commit is contained in:
Justin SB 2023-01-24 13:36:48 -05:00
parent 8c357b6f7d
commit 238d5afc46
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 # builds a docker image that builds the app and packages it into a minimal docker image
build: build:
docker build -t ${REGISTRY}/guestbook:${VERSION} . docker buildx build --load -t ${REGISTRY}/guestbook:${VERSION} .
# push the image to an registry # push the image to an registry
push: push:
gcloud docker -- push ${REGISTRY}/guestbook:${VERSION} docker buildx build --push -t ${REGISTRY}/guestbook:${VERSION} .
# remove previous images and containers # remove previous images and containers
clean: clean: