From cc736b22091c16f6ade8f55987b521cbca812606 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 25 May 2024 21:12:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20Update=20Docker=20workflow=20wit?= =?UTF-8?q?h=20the=20latest=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-build-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.yml index 10916d731e..27851e01c5 100644 --- a/.github/workflows/docker-build-publish.yml +++ b/.github/workflows/docker-build-publish.yml @@ -32,7 +32,7 @@ jobs: steps: - name: 🛎️ Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: 🔖 Get App Version uses: tyankatsu0105/read-package-version-actions@v1 @@ -66,10 +66,10 @@ jobs: platforms: linux/amd64,linux/arm64,linux/arm/v7 - name: 🔧 Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - id: buildx + uses: docker/setup-buildx-action@v2 with: - driver-opts: image=moby/buildkit:v0.10.6 + use-buildkit: true + buildkit-daemon-opts: "--oci-worker-no-process-sandbox" - name: 👀 Inspect builder run: | @@ -80,13 +80,13 @@ jobs: echo "Platforms: ${{ steps.buildx.outputs.platforms }}" - name: 🔑 Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: 🔑 Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -96,7 +96,7 @@ jobs: uses: crazy-max/ghaction-docker-status@v1 - name: ⚒️ Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile