diff --git a/README.md b/README.md index f36a634..379bfa6 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 }}