Skip to content

Commit 238d5af

Browse files
committed
Update Makefile to replace deprecated gcloud docker
More modernization to get this running again.
1 parent 8c357b6 commit 238d5af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guestbook-go/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ release: clean build push clean
2323

2424
# builds a docker image that builds the app and packages it into a minimal docker image
2525
build:
26-
docker build -t ${REGISTRY}/guestbook:${VERSION} .
26+
docker buildx build --load -t ${REGISTRY}/guestbook:${VERSION} .
2727

2828
# push the image to an registry
2929
push:
30-
gcloud docker -- push ${REGISTRY}/guestbook:${VERSION}
30+
docker buildx build --push -t ${REGISTRY}/guestbook:${VERSION} .
3131

3232
# remove previous images and containers
3333
clean:

0 commit comments

Comments
 (0)