Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docker/build-push-action from 1 to 2 #138

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 8, 2022

Bumps docker/build-push-action from 1 to 2.

Release notes

Sourced from docker/build-push-action's releases.

v2.0.0

v2 of this action includes significant changes and now uses Docker Buildx. It extends the docker build command named buildx with the full support of the features provided by Moby BuildKit builder toolkit. This includes multi-arch build, build-secrets, remote cache, etc. and different builder deployment/namespacing options.

It works with 3 new actions (login, setup-buildx and setup-qemu) that we have created. It's also rewritten as a typescript-action to be as closed as possible of the GitHub Runner during its execution (#71 #92).

Upgrade notes and many usage examples have been added to handle most use cases.

  • Input path is now called context for consistency with other Docker build tools
  • path defaults to current git repository so checkout action is not required in a workflow
  • Rename dockerfile input to file for consistency with other Docker build tools
  • Rename always_pull input to pull for consistency with other Docker build tools
  • Add builder input to be able to choose a builder instance through our setup-buildx action
  • Add platforms input to support multi-platform builds
  • Add allow input
  • Add load input
  • Add outputs input
  • Add cache-from input (cache_froms removed)
  • Add cache-to input
  • Add secrets input
  • Review tags input
  • Remove repository input. See Simple workflow for migration
  • Remove username, password and registry inputs. Login support moved to docker/login-action repo
  • Remove tag_with_sha, tag_with_ref, add_git_labels inputs. See Tags with ref and Git labels for migration
  • Handle Git context
  • Add digest output

v1.1.1

  • Add deprecation notice (v2 beta available)

v1.1.0

Release notes:

Contributors: @​appleboy @​andrew-waters @​zappy-shu

v1.0.1

Change log:

  • Clarify dockerfile and path inputs
  • Rename LICENCE to LICENSE
  • Use v1 of docker/gihub-actions image
  • Logs in before building image
Upgrade guide

Sourced from docker/build-push-action's upgrade guide.

Upgrade notes

v1 to v2

  • Input path is now called context for consistency with other Docker build tools
  • path defaults to current git repository so checkout action is not required in a workflow
  • Rename dockerfile input to file for consistency with other Docker build tools
  • Rename always_pull input to pull for consistency with other Docker build tools
  • Add builder input to be able to choose a builder instance through our setup-buildx action
  • Add platforms input to support multi-platform builds
  • Add allow input
  • Add load input
  • Add outputs input
  • Add cache-from input (cache_froms removed)
  • Add cache-to input
  • Rename build_args input to build-args for consistency with other Docker build tools
  • Add secrets input
  • Review tags input
  • Remove repository input. See Simple workflow for migration
  • Remove username, password and registry inputs. Login support moved to docker/login-action repo
  • Remove tag_with_sha, tag_with_ref, add_git_labels inputs. See Tags with ref and Git labels for migration
  • Handle Git context
  • Add digest output

Simple workflow

# v1
steps:
  -
    name: Checkout
    uses: actions/checkout@v2
  -
    name: Build and push Docker images
    uses: docker/build-push-action@v1
    with:
      username: ${{ secrets.DOCKER_USERNAME }}
      password: ${{ secrets.DOCKER_PASSWORD }}
      repository: myorg/myrepository
      always_pull: true
      build_args: arg1=value1,arg2=value2
      cache_froms: myorg/myrepository:latest
      tags: latest
# v2
steps:
  -
    name: Checkout
</tr></table> 

... (truncated)

Commits
  • ac9327e Merge pull request #563 from crazy-max/new-inputs
  • 7c41daf build-contexts input
  • e115266 Merge pull request #569 from crazy-max/imageid-digest
  • 50fa005 add imageid output and use metadata to set digest output
  • 309fb91 Merge pull request #568 from docker/dependabot/github_actions/actions/checkout-3
  • db68526 Bump actions/checkout from 2 to 3
  • fe02965 Merge pull request #559 from crazy-max/outputs
  • 5af8693 Enhance outputs display
  • 7f9d37f Merge pull request #555 from crazy-max/fix-add-host
  • d745845 Fix add-hosts context
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 1 to 2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Upgrade guide](https://github.com/docker/build-push-action/blob/master/UPGRADE.md)
- [Commits](docker/build-push-action@v1...v2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Apr 8, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 5, 2022

Superseded by #156.

@dependabot dependabot bot closed this May 5, 2022
@dependabot dependabot bot deleted the dependabot/github_actions/docker/build-push-action-2 branch May 5, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant