From e226353d128a2f7324b3fea7e3a944a9d7b252d8 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Sun, 1 Sep 2024 12:23:05 +0300 Subject: [PATCH] Update action --- .github/workflows/container.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 5d184b8..6e1cc06 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -29,11 +29,13 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: - context: ./ - platforms: linux/amd64,linux/arm64 - file: ./Dockerfile push: true + context: . + file: ./Dockerfile + cache-from: type=gha + cache-to: type=gha,mode=max + platforms: linux/amd64,linux/arm64 tags: ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:${{ steps.previoustag.outputs.tag }}