forked from TrueCloudLab/action-env
Fix tag name reference in push-% recipe
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
parent
ab35bf6f37
commit
a3b7e14413
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -18,5 +18,5 @@ PUSH=$(foreach tag,$(TAGS),push-$(tag))
|
|||
$(PUSH):
|
||||
echo -n "$$REGISTRY_PASSWORD" | wc
|
||||
echo "$$REGISTRY_PASSWORD" | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY)
|
||||
buildah push --rm $(IMAGE):$@ docker://$(IMAGE):$@
|
||||
buildah push --rm $(IMAGE):$(patsubst push-%,%,$@) docker://$(IMAGE):$(patsubst push-%,%,$@)
|
||||
buildah logout
|
||||
|
|
Loading…
Reference in a new issue