Skip to content

Commit 2f9ff82

Browse files
Update maven.yml
1 parent 433c34c commit 2f9ff82

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
deploy:
4848
needs: [build]
4949
runs-on: ubuntu-latest
50-
# defaults:
51-
# run:
52-
# working-directory: ./code/backend
50+
5351
steps:
5452
- name: Login to Docker Hub
5553
uses: docker/login-action@v3
@@ -63,6 +61,7 @@ jobs:
6361
- name: Build and push
6462
uses: docker/build-push-action@v6
6563
with:
66-
context: ./code/backend
64+
context: ./code
65+
file: code/backend/Dockerfile
6766
push: true
68-
tags: ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
67+
tags: campus_exchange:latest

0 commit comments

Comments
 (0)