Skip to content

Commit

Permalink
Deployed to the new michelin Docker Hub repository (#166)
Browse files Browse the repository at this point in the history
* Use the new michelin Docker Hub repository

* Try building on VC 2022

* Try building on VC 2022
  • Loading branch information
Loïc GREFFIER authored Feb 25, 2022
1 parent 1e0521c commit f149203
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: al-cheb/[email protected]
- name: Native Image for CLI
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
gradlew.bat :cli:shadowJar :cli:nativeImage
shell: cmd
- uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on_push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
username: ${{ secrets.MICHELIN_DOCKER_HUB_USERNAME }}
password: ${{ secrets.MICHELIN_DOCKER_HUB_PASSWD }}
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
uses: al-cheb/[email protected]
- name: Native Image for CLI
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
gradlew.bat :cli:shadowJar :cli:nativeImage
shell: cmd
- uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on_push_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
username: ${{ secrets.MICHELIN_DOCKER_HUB_USERNAME }}
password: ${{ secrets.MICHELIN_DOCKER_HUB_PASSWD }}
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: al-cheb/[email protected]
- name: Native Image for CLI
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
gradlew.bat :cli:shadowJar :cli:nativeImage
shell: cmd
- uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ns4kafka
[![GitHub issues](https://img.shields.io/github/issues/michelin/ns4kafka)](https://github.com/michelin/ns4kafka/issues)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=michelin_ns4kafka&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=michelin_ns4kafka)
[![SonarCloud Bugs](https://sonarcloud.io/api/project_badges/measure?project=michelin_ns4kafka&metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=michelin_ns4kafka)
[![Docker Pulls](https://img.shields.io/docker/pulls/twobeeb/ns4kafka?label=ns4kafka%20pulls&logo=Docker)](https://hub.docker.com/r/twobeeb/ns4kafka/tags)
[![Docker Pulls](https://img.shields.io/docker/pulls/twobeeb/kafkactl?label=kafkactl%20pulls&logo=Docker)](https://hub.docker.com/r/twobeeb/kafkactl/tags)
[![Docker Pulls](https://img.shields.io/docker/pulls/michelin/ns4kafka?label=ns4kafka%20pulls&logo=Docker)](https://hub.docker.com/r/michelin/ns4kafka/tags)
[![Docker Pulls](https://img.shields.io/docker/pulls/michelin/kafkactl?label=kafkactl%20pulls&logo=Docker)](https://hub.docker.com/r/michelin/kafkactl/tags)

# Table of Contents
* [About the project](#about-the-project)
Expand Down Expand Up @@ -347,7 +347,7 @@ Download the latest available version from the [Releases](https://github.com/mic
- ``kafkactl`` binary for Linux
- ``kafkactl.exe`` binary for Windows
- ``kafkactl.jar`` java package
- Docker image from DockerHub [twobeeb/kafkactl](https://hub.docker.com/repository/docker/twobeeb/kafkactl)
- Docker image from DockerHub [michelin/kafkactl](https://hub.docker.com/repository/docker/michelin/kafkactl)

Windows and Linux binaries are generated using GraalVM and native-image.
Java package requires at least Java 11.
Expand Down
4 changes: 2 additions & 2 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks.withType(JavaCompile) {
}

run {
// environment( "MICRONAUT_ENVIRONMENTS","dev")
environment( "MICRONAUT_ENVIRONMENTS","dev")
}

test {
Expand All @@ -71,7 +71,7 @@ test {
}

dockerBuild {
images = ["twobeeb/ns4kafka:"+version]
images = ["michelin/ns4kafka:"+version]
}

jacocoTestReport {
Expand Down
2 changes: 1 addition & 1 deletion cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ nativeImage {
'-H:Log=*ShimDLL:3,link:3,copy:3']
}
dockerBuild {
images = ["twobeeb/kafkactl:"+version]
images = ["michelin/kafkactl:"+version]
}

jacocoTestReport {
Expand Down

0 comments on commit f149203

Please sign in to comment.