Merge pull request #470 from justinsb/makefile_update
Update Makefile to replace deprecated gcloud docker
This commit is contained in:
commit
2452dfc83b
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue