Skip to content

Commit ee4f995

Browse files
authored
Merge pull request #46 from codacy/withtools-jdk-17
feature: Publish withtools image for jdk 17
2 parents a7d7c36 + 43727e6 commit ee4f995

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ docker_build: ## build the docker image
1717

1818
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(VERSION) --target withtools .
1919
docker build --build-arg base_image=$(BASE_IMAGE_OPENJ9) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(OPENJ9_VERSION) --target withtools .
20+
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK17) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(OPENJDK17_VERSION) --target withtools .
2021

2122
docker_scan: ## scan the docker image for security vulnerabilities
2223
docker scan --accept-license --login --token $(DOCKER_SCAN_SNYK_TOKEN) &&\
@@ -25,6 +26,7 @@ docker_scan: ## scan the docker image for security vulnerabilities
2526
docker scan --accept-license --severity high $(BASE_IMAGE_NAME):$(OPENJDK17_VERSION)
2627
docker scan --accept-license --severity high $(WITHTOOLS_IMAGE_NAME):$(VERSION)
2728
docker scan --accept-license --severity high $(WITHTOOLS_IMAGE_NAME):$(OPENJ9_VERSION)
29+
docker scan --accept-license --severity high $(WITHTOOLS_IMAGE_NAME):$(OPENJDK17_VERSION)
2830

2931
.PHONY: push-docker-image
3032
push-docker-image: ## push the docker image to the registry (DOCKER_USER and DOCKER_PASS mandatory)
@@ -34,6 +36,7 @@ push-docker-image: ## push the docker image to the registry (DOCKER_USER and DOC
3436
docker push $(BASE_IMAGE_NAME):$(OPENJDK17_VERSION)
3537
docker push $(WITHTOOLS_IMAGE_NAME):$(VERSION)
3638
docker push $(WITHTOOLS_IMAGE_NAME):$(OPENJ9_VERSION)
39+
docker push $(WITHTOOLS_IMAGE_NAME):$(OPENJDK17_VERSION)
3740

3841
.PHONY: push-latest-docker-image
3942
push-latest-docker-image: ## push the docker image with the "latest" tag to the registry (DOCKER_USER and DOCKER_PASS mandatory)

0 commit comments

Comments
 (0)