Skip to content

Commit

Permalink
Merge pull request ceph#688 from barakda/push_also_latest_tags_to_quay
Browse files Browse the repository at this point in the history
push also latest tags
  • Loading branch information
barakda authored May 29, 2024
2 parents 23ec2b4 + 3977f54 commit 7d30155
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions mk/containerized.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,17 @@ build: ## Build SVC images
build: DOCKER_COMPOSE_ENV = DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1

push: ## Push nvmeof and nvmeof-cli containers images to quay.io registries
docker push $(QUAY_NVMEOF):$(VERSION)
docker push $(QUAY_NVMEOFCLI):$(VERSION)
SHORT_VERSION=$(shell echo $(VERSION) | cut -d. -f1-2); \
docker push $(QUAY_NVMEOF):$(VERSION); \
docker push $(QUAY_NVMEOFCLI):$(VERSION); \
docker tag $(QUAY_NVMEOF):$(VERSION) $(QUAY_NVMEOF):$$SHORT_VERSION; \
docker tag $(QUAY_NVMEOFCLI):$(VERSION) $(QUAY_NVMEOFCLI):$$SHORT_VERSION; \
docker tag $(QUAY_NVMEOF):$(VERSION) $(QUAY_NVMEOF):latest; \
docker tag $(QUAY_NVMEOFCLI):$(VERSION) $(QUAY_NVMEOFCLI):latest; \
docker push $(QUAY_NVMEOF):$$SHORT_VERSION; \
docker push $(QUAY_NVMEOFCLI):$$SHORT_VERSION; \
docker push $(QUAY_NVMEOF):latest; \
docker push $(QUAY_NVMEOFCLI):latest

run: ## Run command CMD inside SVC containers
run: override OPTS += --rm
Expand Down

0 comments on commit 7d30155

Please sign in to comment.