From 32a7feef2d08d618d5c649b9642e9b5f5ad2ed95 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 6 Jul 2024 21:10:13 -0600 Subject: [PATCH] Fix docker image workflow --- .forgejo/workflows/docker-image.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/docker-image.yml b/.forgejo/workflows/docker-image.yml index d8de2b1..b784b6a 100644 --- a/.forgejo/workflows/docker-image.yml +++ b/.forgejo/workflows/docker-image.yml @@ -25,18 +25,20 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} type=sha - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + - name: Set up Docker context + run: docker context create builders - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/setup-buildx-action@v3 + with: + endpoint: builders + - name: Login to Container Registry + uses: docker/login-action@v3 with: registry: git.wbrawner.com username: ${{ github.actor }} password: ${{ secrets.FORGEJO_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64