Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into bump_to_1.17.0
  • Loading branch information
Slimane AMAR committed Sep 9, 2024
2 parents cbbf0b1 + a3bcd2e commit ad0d0c3
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v1

- name: Build with Maven
run: mvn --batch-mode -Pjacoco install
run: mvn --batch-mode -Pjacoco verify

- name: Run SonarCloud analysis on server
run: >
Expand All @@ -36,24 +36,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Build Docker image - Main
if: github.ref == 'refs/heads/main'
run: >
mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy
-Djib.httpTimeout=60000
-Djib.to.image=docker.io/powsybl/network-store-server
-Djib.to.auth.username=powsyblci
-Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker image - Tag
if: startsWith(github.ref, 'refs/tags/')
run: >
mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy
-Djib.httpTimeout=60000
-Djib.to.image=docker.io/powsybl/network-store-server:${GITHUB_REF_NAME#v}
-Djib.to.auth.username=powsyblci
-Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }}
- name: Broadcast update event
if: github.ref == 'refs/heads/main'
uses: gridsuite/broadcast-event@main
Expand Down

0 comments on commit ad0d0c3

Please sign in to comment.