From e2ffd4cc94b953f907447b15b057ae4f06ef35e9 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 30 Jan 2023 19:37:25 +0100 Subject: [PATCH] update build-push-action to v4 Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 4 ++-- README.md | 8 ++++---- UPGRADE.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd1b18b..835fcb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -265,7 +265,7 @@ jobs: driver-opts: network=host - name: Build and push to local registry - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ./test file: ./test/Dockerfile @@ -372,7 +372,7 @@ jobs: maintainer=CrazyMax - name: Build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: ./test file: ./test/output.Dockerfile diff --git a/README.md b/README.md index 4d0eb63..6c846b7 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,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: ${{ github.event_name != 'pull_request' }} @@ -149,7 +149,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: ${{ github.event_name != 'pull_request' }} @@ -308,7 +308,7 @@ Alternatively, each output is also exported as an environment variable: So it can be used with our [Docker Build Push action](https://github.com/docker/build-push-action/): ```yaml -- uses: docker/build-push-action@v3 +- uses: docker/build-push-action@v4 with: build-args: | DOCKER_METADATA_OUTPUT_JSON @@ -841,7 +841,7 @@ that you can reuse them further in your workflow using the [`fromJSON` function] images: name/app - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/UPGRADE.md b/UPGRADE.md index 6d44f05..2b85d9e 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -149,7 +149,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: ${{ github.event_name != 'pull_request' }} @@ -193,7 +193,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: ${{ github.event_name != 'pull_request' }} @@ -242,7 +242,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: ${{ github.event_name != 'pull_request' }} @@ -291,7 +291,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: ${{ github.event_name != 'pull_request' }}