forked from TrueCloudLab/action-env
Logout from registry after pushing the image
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
parent
2c81b0f450
commit
e8ca14a77b
1 changed files with 1 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -16,7 +16,5 @@ $(TAGS):
|
|||
ifneq (,$(PUSH))
|
||||
echo $$REGISTRY_PASSWORD | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY)
|
||||
buildah push --rm $(IMAGE):$@ docker://$(IMAGE):$@
|
||||
rm $(REGISTRY_AUTH_FILE)
|
||||
|
||||
export REGISTRY_AUTH_FILE=$(shell mktemp -u)
|
||||
buildah logout
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue