mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
Add build args
This commit is contained in:
1 parent
34abdc0ba0
commit
05a2c250fc
1 file changed
+2
-2
@@ -120,7 +120,7 @@ jobs:
|
||||
|
||||
- name: Build container
|
||||
working-directory: ./docker
|
||||
run: docker build -t lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} -f ${{ matrix.tool }}/Dockerfile .
|
||||
run: docker build --build-arg jdk=${{ matrix.jdk }} -t lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} -f ${{ matrix.tool }}/Dockerfile .
|
||||
|
||||
- name: Compile in container
|
||||
run: docker run -v ./dist/lombok.jar:/workspace/lombok.jar lombok-maven-jdk16 /bin/bash -c "cd /classpath; mvn compile"
|
||||
run: docker run -v ./dist/lombok.jar:/workspace/lombok.jar lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} /bin/bash -c "cd /classpath; mvn compile"
|
||||
Reference in new issue
Block a user