Skip to content

Commit

Permalink
Makefile: switch Docker Hub repo to a purely OSS one
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 8, 2024
1 parent 7edaa41 commit 84ec5ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ package-concourse: clean ## Build the binary distribution

.PHONY: docker-image-concourse
docker-image-concourse: package-concourse ## Build Docker image
@docker build --tag pivotalrabbitmq/concourse-cloudsmith-resource:latest --file Dockerfile-concourse .
@docker build --tag rabbitmqdevenv/concourse-cloudsmith-resource:latest --file Dockerfile-concourse .

.PHONY: push-docker-image-concourse
push-docker-image-concourse: docker-image-concourse ## Push Docker image
@docker push pivotalrabbitmq/concourse-cloudsmith-resource:latest
@docker push rabbitmqdevenv/concourse-cloudsmith-resource:latest

.PHONY: package-github
package-github: clean ## Build the binary distribution
./mvnw package -Dmaven.test.skip -P github

.PHONY: docker-image-github
docker-image-github: package-github ## Build Docker image
@docker build --tag pivotalrabbitmq/cloudsmith-action:latest --file Dockerfile-github .
@docker build --tag rabbitmqdevenv/cloudsmith-action:latest --file Dockerfile-github .

.PHONY: push-docker-image-github
push-docker-image-github: docker-image-github ## Push Docker image
@docker push pivotalrabbitmq/cloudsmith-action:latest
@docker push rabbitmqdevenv/cloudsmith-action:latest

.PHONY: clean
clean: ## Clean all build artefacts
Expand All @@ -42,4 +42,4 @@ compile: ## Compile the source code

.PHONY: test
test: ## Run tests
./mvnw test
./mvnw test

0 comments on commit 84ec5ee

Please sign in to comment.