Skip to content

Commit

Permalink
Update docker authentication
Browse files Browse the repository at this point in the history
Generate config file so it won't be missing
  • Loading branch information
sawsa307 committed Feb 27, 2023
1 parent b2acb95 commit 8e7113f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ push: $(PUSH_BUILDSTAMPS) images-push
ifeq (,$(findstring gcr.io,$(REGISTRY)))
@docker push $$(head -n 1 $<) $(VERBOSE_OUTPUT)
else
@gcloud auth configure-docker --quiet
@gcloud docker -- push $$(head -n 1 $<) $(VERBOSE_OUTPUT)
endif
@cat $< > $@
Expand Down

0 comments on commit 8e7113f

Please sign in to comment.