From 74d0bfa508b00e98843487be3b6342310f449a51 Mon Sep 17 00:00:00 2001 From: Nano Taboada Date: Mon, 12 Jan 2026 16:50:39 -0300 Subject: [PATCH] ci: add Docker Buildx cache to container workflow --- .github/workflows/maven.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a63ac59..0e40e93 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,9 +3,6 @@ name: Java CI -permissions: - contents: read - on: push: branches: [master] @@ -18,6 +15,8 @@ env: jobs: verify: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Checkout repository uses: actions/checkout@v6.0.1 @@ -41,6 +40,8 @@ jobs: coverage: needs: verify runs-on: ubuntu-latest + permissions: + contents: read strategy: matrix: service: [codecov, codacy] @@ -97,6 +98,8 @@ jobs: push: true platforms: linux/amd64 provenance: false + cache-from: type=gha + cache-to: type=gha,mode=max tags: | ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:sha-${{ github.sha }}