From 4556201a14dcaaa67cfa642b161aadf1cf0c8b58 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 12 Sep 2023 10:12:12 +0200 Subject: [PATCH] docs: bump actions to latest major Signed-off-by: CrazyMax --- README.md | 24 ++++++++++++------------ TROUBLESHOOTING.md | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 7f14df6..b6f011b 100644 --- a/README.md +++ b/README.md @@ -74,19 +74,19 @@ jobs: steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: true tags: user/app:latest @@ -108,10 +108,10 @@ to the default Git context: # Setting up Docker Buildx with docker-container driver is required # at the moment to be able to use a subdirectory with Git context name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: "{{defaultContext}}:mysubdir" push: true @@ -134,7 +134,7 @@ named `GIT_AUTH_TOKEN` to be able to authenticate against it with Buildx: ```yaml - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: true tags: user/app:latest @@ -161,19 +161,19 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -252,7 +252,7 @@ Following inputs can be used as `step.with` keys ### outputs -Following outputs are available +The following outputs are available: | Name | Type | Description | |------------|---------|-----------------------| diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index fc255d2..3263b2d 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -48,10 +48,10 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: --debug - @@ -59,7 +59,7 @@ jobs: uses: crazy-max/ghaction-setup-containerd@v2 - name: Build Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64,linux/arm64 @@ -112,7 +112,7 @@ to generate sanitized tags: tags: latest - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -130,7 +130,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@v4 + uses: docker/build-push-action@v5 with: context: . push: true @@ -156,7 +156,7 @@ Sometimes when your workflows are heavy consumers of disk storage, it can happen ```yaml name: Set up Docker Buildx -uses: docker/setup-buildx-action@v2 +uses: docker/setup-buildx-action@v3 with: driver: docker ```