Skip to content

Commit

Permalink
Add in the docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
benmatselby committed Aug 25, 2023
1 parent c3bdf39 commit 374d019
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,15 @@ test-cov: ## Run the unit tests with code coverage
docker-build: ## Build the docker image
docker build -t $(DOCKER_PREFIX)/$(NAME) $(DOCKER_PLATFORM) .

.PHONY: docker-run
docker-run: ## Run the docker image
docker run --rm -eTRELLO_CLI_KEY -eTRELLO_CLI_SECRET $(DOCKER_PREFIX)/$(NAME) board:list -s
.PHONY: docker-push
docker-push:
docker push $(DOCKER_PREFIX)/$(NAME):$(DOCKER_RELEASE)

.PHONY: docker-scan
docker-scan: ## Scan the docker image
docker scout recommendations $(DOCKER_PREFIX)/$(NAME)
docker scout quickview $(DOCKER_PREFIX)/$(NAME)

.PHONY: docker-run
docker-run: ## Run the docker image
docker run --rm -eTRELLO_CLI_KEY -eTRELLO_CLI_SECRET $(DOCKER_PREFIX)/$(NAME) board:list -s

0 comments on commit 374d019

Please sign in to comment.