aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-04-18 16:16:32 +0200
committerRoel Spilker <r.spilker@gmail.com>2023-03-22 10:22:34 +0100
commit05a2c250fcc5c24d6f0d38ac8f3d981c254e4bf0 (patch)
treec8f524e61e4fc8c4c793268f3f70058f4b8d31fa /.github
parent34abdc0ba07acfcde684ccf0c4bd130ab507f48c (diff)
downloadlombok-05a2c250fcc5c24d6f0d38ac8f3d981c254e4bf0.tar.gz
lombok-05a2c250fcc5c24d6f0d38ac8f3d981c254e4bf0.tar.bz2
lombok-05a2c250fcc5c24d6f0d38ac8f3d981c254e4bf0.zip
Add build args
Diffstat (limited to '.github')
-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