Add login command to push target
This commit is contained in:
parent
cad698670e
commit
df1b70a549
1
Makefile
1
Makefile
@ -16,6 +16,7 @@ image: ## Build image
|
||||
podman build . --tag $(REPOSITORY):v$(SEMAPHORE_VERSION) --build-arg "OPENTOFU_VERSION=$(OPENTOFU_VERSION)" --build-arg "SEMAPHORE_VERSION=$(SEMAPHORE_VERSION)" --build-arg "PYTHON_VERSION=$(PYTHON_VERSION)" --build-arg "SPECTRE_VERSION=$(SPECTRE_VERSION)"
|
||||
|
||||
push: image ## Build and publish image
|
||||
podman login $(shell echo $(REPOSITORY) | cut -d '/' -f 1)
|
||||
podman push $(REPOSITORY):v$(SEMAPHORE_VERSION)
|
||||
|
||||
dev: ## Setup local dev environment
|
||||
|
Loading…
Reference in New Issue
Block a user