From dda70725edcd0ccf2ba1ed17ce80c61db6179d4d Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 5 May 2022 19:24:32 +0200 Subject: [PATCH] Bump all Docker actions to latest major Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 54 ++++++++++++------------ .github/workflows/e2e.yml | 6 +-- .github/workflows/example.yml | 2 +- .github/workflows/test.yml | 4 +- README.md | 20 ++++----- TROUBLESHOOTING.md | 12 +++--- docs/advanced/cache.md | 24 +++++------ docs/advanced/copy-between-registries.md | 12 +++--- docs/advanced/dockerhub-desc.md | 8 ++-- docs/advanced/export-docker.md | 4 +- docs/advanced/isolated-builders.md | 8 ++-- docs/advanced/local-registry.md | 6 +-- docs/advanced/multi-platform.md | 8 ++-- docs/advanced/push-multi-registries.md | 10 ++--- docs/advanced/secrets.md | 6 +-- docs/advanced/share-image-jobs.md | 6 +-- docs/advanced/tags-labels.md | 12 +++--- docs/advanced/test-before-push.md | 10 ++--- 18 files changed, 106 insertions(+), 106 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78ebb54..6669d61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: path: action - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build uses: ./action @@ -42,11 +42,11 @@ jobs: path: action - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: latest driver-opts: network=host @@ -89,11 +89,11 @@ jobs: path: action - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: network=host - @@ -149,11 +149,11 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: ${{ matrix.buildx-version }} driver-opts: network=host @@ -216,10 +216,10 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build id: docker_build @@ -288,7 +288,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: List networks run: docker network ls @@ -308,7 +308,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: v0.7.0 driver-opts: | @@ -330,7 +330,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: v0.7.0 driver-opts: | @@ -354,7 +354,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: v0.7.0 driver-opts: | @@ -376,7 +376,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build uses: ./ @@ -396,7 +396,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: v0.8.0 - @@ -431,11 +431,11 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: ${{ matrix.buildx-version }} driver-opts: network=host @@ -504,7 +504,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: v0.8.0 driver: ${{ matrix.driver }} @@ -565,11 +565,11 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: | network=host @@ -653,11 +653,11 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: | network=host @@ -714,11 +714,11 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: | network=host @@ -788,10 +788,10 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: version: ${{ matrix.buildx_version }} driver-opts: | @@ -827,7 +827,7 @@ jobs: sudo apt-get purge -y moby-cli moby-buildx - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build uses: ./ diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 565f726..7c88441 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -69,14 +69,14 @@ jobs: images: ${{ matrix.slug }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to Registry if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ${{ matrix.registry }} username: ${{ secrets[matrix.username_secret] }} diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 51d6c90..d21840d 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -42,7 +42,7 @@ jobs: type=sha - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: network=host - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0b81e2..489557a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,12 +17,12 @@ jobs: uses: actions/checkout@v3 - name: Validate - uses: docker/bake-action@v1 + uses: docker/bake-action@v2 with: targets: validate - name: Test - uses: docker/bake-action@v1 + uses: docker/bake-action@v2 with: targets: test - diff --git a/README.md b/README.md index eee9a9a..15b0519 100644 --- a/README.md +++ b/README.md @@ -70,19 +70,19 @@ jobs: steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true tags: user/app:latest @@ -102,7 +102,7 @@ to the default Git context: ```yaml - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: "{{defaultContext}}:mysubdir" push: true @@ -118,7 +118,7 @@ private repository, you have to use a [secret](docs/advanced/secrets.md) named ```yaml - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true tags: user/app:latest @@ -145,19 +145,19 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 02130a6..f4a7538 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -47,10 +47,10 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: buildkitd-flags: --debug - @@ -58,7 +58,7 @@ jobs: uses: crazy-max/ghaction-setup-containerd@v1 - name: Build Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64 @@ -105,13 +105,13 @@ to generate sanitized tags: ```yaml - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: ghcr.io/${{ github.repository }} tags: latest - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 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@v2 + uses: docker/build-push-action@v3 with: context: . push: true diff --git a/docs/advanced/cache.md b/docs/advanced/cache.md index 96d6787..8504899 100644 --- a/docs/advanced/cache.md +++ b/docs/advanced/cache.md @@ -31,16 +31,16 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true @@ -71,16 +71,16 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true @@ -121,16 +121,16 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true @@ -165,7 +165,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Cache Docker layers uses: actions/cache@v2 @@ -176,13 +176,13 @@ jobs: ${{ runner.os }}-buildx- - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true diff --git a/docs/advanced/copy-between-registries.md b/docs/advanced/copy-between-registries.md index a458213..ef7c264 100644 --- a/docs/advanced/copy-between-registries.md +++ b/docs/advanced/copy-between-registries.md @@ -23,33 +23,33 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - # quay and ghcr logins for pushing image after testing name: Login to Quay Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/docs/advanced/dockerhub-desc.md b/docs/advanced/dockerhub-desc.md index 86d1d15..8ba895a 100644 --- a/docs/advanced/dockerhub-desc.md +++ b/docs/advanced/dockerhub-desc.md @@ -21,19 +21,19 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true diff --git a/docs/advanced/export-docker.md b/docs/advanced/export-docker.md index b9a2f71..2e306a7 100644 --- a/docs/advanced/export-docker.md +++ b/docs/advanced/export-docker.md @@ -20,10 +20,10 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . load: true diff --git a/docs/advanced/isolated-builders.md b/docs/advanced/isolated-builders.md index 888cc88..3015b24 100644 --- a/docs/advanced/isolated-builders.md +++ b/docs/advanced/isolated-builders.md @@ -16,10 +16,10 @@ jobs: name: Checkout uses: actions/checkout@v2 - - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 id: builder1 - - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 id: builder2 - name: Builder 1 name @@ -29,14 +29,14 @@ jobs: run: echo ${{ steps.builder2.outputs.name }} - name: Build against builder1 - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: builder: ${{ steps.builder1.outputs.name }} context: . target: mytarget1 - name: Build against builder2 - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: builder: ${{ steps.builder2.outputs.name }} context: . diff --git a/docs/advanced/local-registry.md b/docs/advanced/local-registry.md index 090ae68..c918d49 100644 --- a/docs/advanced/local-registry.md +++ b/docs/advanced/local-registry.md @@ -24,15 +24,15 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: driver-opts: network=host - name: Build and push to local registry - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: true diff --git a/docs/advanced/multi-platform.md b/docs/advanced/multi-platform.md index 4ef94c5..f5d0ea2 100644 --- a/docs/advanced/multi-platform.md +++ b/docs/advanced/multi-platform.md @@ -23,19 +23,19 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/docs/advanced/push-multi-registries.md b/docs/advanced/push-multi-registries.md index b2aa586..e217fd1 100644 --- a/docs/advanced/push-multi-registries.md +++ b/docs/advanced/push-multi-registries.md @@ -25,26 +25,26 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/docs/advanced/secrets.md b/docs/advanced/secrets.md index d7dc54f..ddb7865 100644 --- a/docs/advanced/secrets.md +++ b/docs/advanced/secrets.md @@ -33,13 +33,13 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/docs/advanced/share-image-jobs.md b/docs/advanced/share-image-jobs.md index b6687e1..6941fd3 100644 --- a/docs/advanced/share-image-jobs.md +++ b/docs/advanced/share-image-jobs.md @@ -22,10 +22,10 @@ jobs: uses: actions/checkout@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build and export - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . tags: myimage:latest @@ -43,7 +43,7 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Download artifact uses: actions/download-artifact@v2 diff --git a/docs/advanced/tags-labels.md b/docs/advanced/tags-labels.md index 5ff5233..011da17 100644 --- a/docs/advanced/tags-labels.md +++ b/docs/advanced/tags-labels.md @@ -29,7 +29,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -46,28 +46,28 @@ jobs: type=sha - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GHCR if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/docs/advanced/test-before-push.md b/docs/advanced/test-before-push.md index 48b0f8a..1428781 100644 --- a/docs/advanced/test-before-push.md +++ b/docs/advanced/test-before-push.md @@ -28,19 +28,19 @@ jobs: uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and export to Docker - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . load: true @@ -51,7 +51,7 @@ jobs: docker run --rm ${{ env.TEST_TAG }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64,linux/arm64