From dce1dc1d03be97f39c5fb77e1771fe9dfee7ee8f Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 23 Nov 2022 15:42:39 -0600 Subject: [PATCH] try build-push-action --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e7818a31..f3af77c36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,12 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build image - run: make push - env: - IMAGE_REPO: ghcr.io/${{ github.actor }}/frigate + - name: Build and push + uses: docker/build-push-action@v3 + with: + context: . + push: true + platforms: linux/amd64,linux/arm64,linux/arm/v7 + tags: "ghcr.io/blakeblackshear/frigate:${GITHUB_REF_NAME}-${GITHUB_SHA::7}" + cache-from: type=gha + cache-to: type=gha,mode=max