Skip to content

Commit

Permalink
chore: remove docker steps in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Joris Mancini <[email protected]>
  • Loading branch information
TheMaskedTurtle committed Sep 9, 2024
1 parent f34c329 commit ceed7fa
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 ceed7fa

Please sign in to comment.