From ceed7fae1a5c4c1dc71c7da31848cfb33b34f5d8 Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Mon, 9 Sep 2024 09:52:17 +0200 Subject: [PATCH] chore: remove docker steps in CI Signed-off-by: Joris Mancini --- .github/workflows/maven.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2816b34f1..12710fdf3 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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: > @@ -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