From 2af3007824ac11319f0a39b7636e9d1910530085 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:40:25 +0100 Subject: [PATCH] update build-push-action to v6 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f36a6349..379bfa67 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: ${{ github.event_name != 'pull_request' }} @@ -152,7 +152,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: ${{ github.event_name != 'pull_request' }} @@ -333,7 +333,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@v5 +- uses: docker/build-push-action@v6 with: build-args: | DOCKER_METADATA_OUTPUT_JSON @@ -925,7 +925,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@v5 + uses: docker/build-push-action@v6 with: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -972,7 +972,7 @@ of the `metadata-action`: images: name/app - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: tags: ${{ steps.meta.outputs.tags }} annotations: ${{ steps.meta.outputs.annotations }} @@ -1019,7 +1019,7 @@ Please consult the documentation of your registry. DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: tags: ${{ steps.meta.outputs.tags }} annotations: ${{ steps.meta.outputs.annotations }}