Skip to content

Commit f82b46d

Browse files
committed
Fix CI pipeline: add mvnw exec permission, fix DockerFile casing, remove old maven.yml
1 parent 79002e8 commit f82b46d

2 files changed

Lines changed: 4 additions & 137 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
cache-dependency-path: backend/pom.xml
3535

3636
- name: Run tests
37-
run: ./mvnw -B test
37+
run: |
38+
chmod +x ./mvnw
39+
./mvnw -B test
3840
3941
- name: Upload test results
4042
if: failure()
@@ -52,7 +54,7 @@ jobs:
5254
uses: actions/checkout@v4
5355

5456
- name: Build backend image
55-
run: docker build -t shelfsense-backend:scan ./backend
57+
run: docker build -f ./backend/DockerFile -t shelfsense-backend:scan ./backend
5658

5759
- name: Run Trivy vulnerability scan
5860
uses: aquasecurity/trivy-action@v0.35.0

.github/workflows/maven.yml

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)