aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ant.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml
index 98826b41..0997e887 100644
--- a/.github/workflows/ant.yml
+++ b/.github/workflows/ant.yml
@@ -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" \ No newline at end of file
+ run: docker run -v ./dist/lombok.jar:/workspace/lombok.jar lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} /bin/bash -c "cd /classpath; mvn compile" \ No newline at end of file