From dd62f27b5ed370bca83d551699ebb9ae38b22d65 Mon Sep 17 00:00:00 2001 From: Andreas Eberle Date: Mon, 29 Jan 2024 17:21:43 +0100 Subject: [PATCH] Cleanup and enable gradle cache --- .github/workflows/k8s-quarkus-sync.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/k8s-quarkus-sync.yml b/.github/workflows/k8s-quarkus-sync.yml index 2f6909a..dfb7c75 100644 --- a/.github/workflows/k8s-quarkus-sync.yml +++ b/.github/workflows/k8s-quarkus-sync.yml @@ -29,6 +29,8 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 + with: + cache-read-only: true # remove later - name: assemble run: ./gradlew assemble @@ -36,14 +38,6 @@ jobs: - name: build container run: ./gradlew build -x test -Dquarkus.container-image.build=true -# - name: Login to GitHub Container Registry -# uses: docker/login-action@v2 -# with: -# registry: ghcr.io -# username: ${{ github.actor }} -# password: ${{ secrets.GITHUB_TOKEN }} -# logout: true - - name: push container run: | ./gradlew build -x test -Dquarkus.container-image.push=true \