Skip to content

Commit

Permalink
Merge pull request #261 from crazy-max/update-build-push
Browse files Browse the repository at this point in the history
update build-push-action to v4
  • Loading branch information
CrazyMax authored and GitHub committed Jan 31, 2023
2 parents 6c3ca5d + e2ffd4c commit 766400c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit 766400c

Please sign in to comment.