diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 135371b..38a4aa3 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -1,8 +1,5 @@ name: Publish Docker -on: - push: - branches: - - main +on: [push] jobs: build: @@ -11,6 +8,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + java-version: 17 + distribution: 'zulu' + - name: Grant execute permission for gradlew run: chmod +x gradlew