Skip to content

Commit 49e6a5f

Browse files
committed
fix: add ARG for dockerfile : #32
1 parent 6d8ceae commit 49e6a5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
with:
5555
file: ./bm-controller/Dockerfile
5656
context: ./bm-controller
57+
args: |
58+
JAR_FILE=${{ github.workspace }}/bm-controller/build/libs
5759
push: true
5860
tags: ${{ secrets.DOCKERHUB_USERNAME }}/bm-controller:latest
5961
platforms: |
@@ -64,6 +66,8 @@ jobs:
6466
uses: docker/build-push-action@v5
6567
with:
6668
file: ./bm-agent/Dockerfile
69+
args: |
70+
JAR_FILE=${{ github.workspace }}/bm-controller/build/libs
6771
context: ./bm-agent
6872
push: true
6973
tags: ${{ secrets.DOCKERHUB_USERNAME }}/bm-agent:latest

0 commit comments

Comments
 (0)