Skip to content

Revert back to without buildx #16

Revert back to without buildx

Revert back to without buildx #16

name: Build Gradle project
on:
push:
jobs:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- name: Set up Docker
uses: docker/setup-qemu-action@v1
with:
docker-version: '20.10.9'
- name: Configure Docker Host
run: |
echo '{"hosts": ["tcp://127.0.0.1:2375", "unix:///var/run/docker.sock"]}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
- name: Checkout project sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew clean build --info
env:
GITHUB_USER: "github"
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
DOCKER_HOST: "http://localhost:2375"