From 71e9aaaf295c955b2c72bd4593bd1999024cc4bb Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 30 Jan 2023 19:30:24 +0100 Subject: [PATCH] docs: update version to v4 Signed-off-by: CrazyMax --- README.md | 8 ++++---- TROUBLESHOOTING.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b7dfdeb..47a3b21 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: push: true tags: user/app:latest @@ -99,7 +99,7 @@ to the default Git context: uses: docker/setup-buildx-action@v2 - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: "{{defaultContext}}:mysubdir" push: true @@ -122,7 +122,7 @@ named `GIT_AUTH_TOKEN` to be able to authenticate against it with Buildx: ```yaml - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: push: true tags: user/app:latest @@ -161,7 +161,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . push: true diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index b21d821..2ee0abb 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -58,7 +58,7 @@ jobs: uses: crazy-max/ghaction-setup-containerd@v2 - name: Build Docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . platforms: linux/amd64,linux/arm64 @@ -111,7 +111,7 @@ to generate sanitized tags: tags: latest - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . push: true @@ -129,7 +129,7 @@ Or a dedicated step to sanitize the slug: script: return 'ghcr.io/${{ github.repository }}'.toLowerCase() - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . push: true