Skip to content

Commit

Permalink
Remove buildkit setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawi01 committed Nov 23, 2024
1 parent cb534ad commit eb3f9f6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,9 @@ jobs:
with:
name: lombok.jar

- name: Setup docker container build driver
run: docker buildx create --name container --driver=docker-container container

- name: Build container
working-directory: ./docker
run: docker buildx --build-arg jdk=${{ matrix.jdk }} -t $IMAGE_NAME -f ${{ matrix.tool.name }}/Dockerfile --builder=container --cache-to=type=gha,scope=$IMAGE_NAME --cache-from=type=gha,scope=$IMAGE_NAME .
run: docker buildx --build-arg jdk=${{ matrix.jdk }} -t $IMAGE_NAME -f ${{ matrix.tool.name }}/Dockerfile --cache-to=type=gha,scope=$IMAGE_NAME --cache-from=type=gha,scope=$IMAGE_NAME .

- name: Compile in container
run: docker run --entrypoint="" -v $(pwd)/lombok.jar:/workspace/lombok.jar $IMAGE_NAME /bin/bash -c "cd classpath; ${{ matrix.tool.cmd }}"

0 comments on commit eb3f9f6

Please sign in to comment.