Bump docker/build-push-action from 5 to 6 (#4387)

* Bump docker/build-push-action from 5 to 6

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-06-25 08:42:06 -07:00 committed by GitHub
parent b677a643c5
commit b1f7b9f87d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 15 deletions

View File

@ -36,7 +36,7 @@ jobs:
latest_non_release)" >> $GITHUB_ENV latest_non_release)" >> $GITHUB_ENV
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
@ -47,7 +47,7 @@ jobs:
if: if:
${{ github.event_name == 'release' && github.event.action == 'published' && ${{ github.event_name == 'release' && github.event.action == 'published' &&
!github.event.release.prerelease }} !github.event.release.prerelease }}
uses: docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
@ -58,7 +58,7 @@ jobs:
if: if:
${{ github.event_name == 'release' && github.event.action == 'published' && ${{ github.event_name == 'release' && github.event.action == 'published' &&
github.event.release.prerelease }} github.event.release.prerelease }}
uses: docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64

View File

@ -29,8 +29,8 @@ frequently than monthly nets rapidly diminishing returns.
**You must have `write` permissions for the _Black_ repository to cut a release.** **You must have `write` permissions for the _Black_ repository to cut a release.**
The 10,000 foot view of the release process is that you prepare a release PR and then The 10,000 foot view of the release process is that you prepare a release PR and then
publish a [GitHub Release]. This triggers [release automation](#release-workflows) that publish a [GitHub Release]. This triggers [release automation](#release-workflows) that builds
builds all release artifacts and publishes them to the various platforms we publish to. all release artifacts and publishes them to the various platforms we publish to.
We now have a `scripts/release.py` script to help with cutting the release PRs. We now have a `scripts/release.py` script to help with cutting the release PRs.
@ -96,9 +96,8 @@ In the end, use your best judgement and ask other maintainers for their thoughts
## Release workflows ## Release workflows
All of _Black_'s release automation uses [GitHub Actions]. All workflows are therefore All of _Black_'s release automation uses [GitHub Actions]. All workflows are therefore configured
configured using YAML files in the `.github/workflows` directory of the _Black_ using YAML files in the `.github/workflows` directory of the _Black_ repository.
repository.
They are triggered by the publication of a [GitHub Release]. They are triggered by the publication of a [GitHub Release].

View File

@ -8,16 +8,16 @@ _Black_ images with the following tags are available:
- release numbers, e.g. `21.5b2`, `21.6b0`, `21.7b0` etc.\ - release numbers, e.g. `21.5b2`, `21.6b0`, `21.7b0` etc.\
Recommended for users who want to use a particular version of _Black_. Recommended for users who want to use a particular version of _Black_.
- `latest_release` - tag created when a new version of _Black_ is released.\ - `latest_release` - tag created when a new version of _Black_ is released.\
Recommended for users who want to use released versions of _Black_. It maps to [the latest release](https://github.com/psf/black/releases/latest) Recommended for users who want to use released versions of _Black_. It maps to
of _Black_. [the latest release](https://github.com/psf/black/releases/latest) of _Black_.
- `latest_prerelease` - tag created when a new alpha (prerelease) version of _Black_ is - `latest_prerelease` - tag created when a new alpha (prerelease) version of _Black_ is
released.\ released.\
Recommended for users who want to preview or test alpha versions of _Black_. Note that Recommended for users who want to preview or test alpha versions of _Black_. Note
the most recent release may be newer than any prerelease, because no prereleases are created that the most recent release may be newer than any prerelease, because no prereleases
before most releases. are created before most releases.
- `latest` - tag used for the newest image of _Black_.\ - `latest` - tag used for the newest image of _Black_.\
Recommended for users who always want to use the latest version of _Black_, even before Recommended for users who always want to use the latest version of _Black_, even
it is released. before it is released.
There is one more tag used for _Black_ Docker images - `latest_non_release`. It is There is one more tag used for _Black_ Docker images - `latest_non_release`. It is
created for all unreleased created for all unreleased