Skip to content

Commit

Permalink
Update Makefile to replace deprecated gcloud docker
Browse files Browse the repository at this point in the history
More modernization to get this running again.
  • Loading branch information
justinsb committed Jan 24, 2023
1 parent 8c357b6 commit 238d5af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guestbook-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 238d5af

Please sign in to comment.