Skip to content

Commit 202ea71

Browse files
Try build manually
1 parent 2ab7461 commit 202ea71

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/maven.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,21 @@ jobs:
6262
username: ${{ vars.DOCKERHUB_USERNAME }}
6363
password: ${{ secrets.DOCKERHUB_TOKEN }}
6464

65-
- name: Set up Docker Buildx
66-
uses: docker/setup-buildx-action@v3
65+
# - name: Set up Docker Buildx
66+
# uses: docker/setup-buildx-action@v3
6767

68-
- name: Build
69-
uses: docker/build-push-action@v6
70-
with:
71-
context: ./code/backend
72-
file: ./Dockerfile
73-
load: true
74-
push: false
75-
tags: ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
68+
# - name: Build
69+
# uses: docker/build-push-action@v6
70+
# with:
71+
# context: ./code/backend
72+
# file: ./code/backend/Dockerfile
73+
# load: true
74+
# push: false
75+
# tags: ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
76+
77+
- name: Build docker
78+
run: |
79+
docker build -t ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest ./code/backend
7680
7781
- name: Test Docker
7882
run: |

0 commit comments

Comments
 (0)