Add build args

This commit is contained in:
Rawi01 authored and Roel Spilker committed 2023-03-22 10:22:34 +01:00
1 parent 34abdc0ba0
commit 05a2c250fc
1 file changed
+2 -2
+2 -2
View File
@@ -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"