File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 55
55
with :
56
56
name : bu-secondhand-1.0.0
57
57
path : ./code/backend/target/
58
- - run : cat ./code/backend/target/bu-secondhand-1.0.0.jar
59
58
60
59
- name : Login to Docker Hub
61
60
uses : docker/login-action@v3
@@ -66,23 +65,14 @@ jobs:
66
65
- name : Set up Docker Buildx
67
66
uses : docker/setup-buildx-action@v3
68
67
69
- - name : Build
68
+ - name : Build and Push docker
70
69
uses : docker/build-push-action@v6
71
70
with :
72
71
context : ./code/backend
73
72
file : ./code/backend/Dockerfile
74
- load : true
75
73
push : false
76
74
tags : ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
77
75
78
76
- name : Test Docker
79
77
run : |
80
78
docker run --rm ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
81
-
82
- # - name: Push
83
- # uses: docker/build-push-action@v6
84
- # with:
85
- # context: ./code/backend/
86
- # file: ./code/backend/Dockerfile
87
- # push: true
88
- # tags: ${{ vars.DOCKERHUB_USERNAME }}/campus_exchange:latest
You can’t perform that action at this time.
0 commit comments