v1.16.1
chore(deps): update docker/build-push-action action to v6 @renovate (#67)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
docker/build-push-action | action | major | v5 -> v6 |
Release Notes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
ref: default to public ECR for binfmt and buildx @dudymas (#72)
## what- ref(qemu-setup): set to public ecr
- ref(diver-opts): hard set to public ecr
- chore(driver-opts,binfmt): update inputs for ecr defaults
why
- Docker hub rate limits can cause issues with more active projects/workflows
feat: add support for build-contexts (#70) @goruha (#71)
## what- Adds support for the
build-contexts
arg
why
- This is needed in particular circumstances; see https://docs.docker.com/reference/cli/docker/buildx/build/#build-context
references
Confirmed on a private project:
🐛 Bug Fixes
fix: create unique image tags for each test in order to avoid race conditions between tests @korenyoni (#74)
## what- create unique image tags for each test in order to avoid race condititions
why
This assertion fails because of a race condition between the three tests in this repo.
For example, take a look at this renovate PR:
The manifest produced by each commit in the screenshot are as follows, in order from oldest to newest:
$ docker buildx imagetools inspect registry.hub.docker.com/cloudposse/github-action-docker-build-push:sha-61a55ff023a1813dca90b5ddc2becbb248ff79b9 --raw | jq '.manifests | map(select(.platform.architecture != "unknown") | .platform.os + "/" + .platform.architecture)'
[
"linux/amd64",
"linux/arm64"
]
$ docker buildx imagetools inspect registry.hub.docker.com/cloudposse/github-action-docker-build-push:sha-c5f9ccf5aad31e6d255ea1631a4dc2311d88452e --raw | jq '.manifests | map(select(.platform.architecture != "unknown") | .platform.os + "/" + .platform.architecture)'
[
"linux/amd64"
]
$ docker buildx imagetools inspect registry.hub.docker.com/cloudposse/github-action-docker-build-push:sha-fd863042e23edb3cdea14cd459f4307ed2b29f3d --raw | jq '.manifests | map(select(.platform.architecture != "unknown") | .platform.os + "/" + .platform.architecture)'
[
"linux/amd64",
"linux/arm64"
]
As previously mentioned, there is a race condition between the three tests that get dispatched by this action. They all produce an image tag of sha-[sha]
. That means that if the test-docker-build-multi-platform.yml
build finishes before the test-docker-build.yml
build, the multi-platform manifest will be overwritten by the single-platform image.
references
N/A
🤖 Automatic Updates
Update .github/settings.yml @osterman (#69)
## what - Update `.github/settings.yml` - Drop `.github/auto-release.yml` fileswhy
- Re-apply
.github/settings.yml
from org level - Use organization level auto-release settings
references
- DEV-1242 Add protected tags with Repository Rulesets on GitHub
Update release workflow to allow pull-requests: write @osterman (#66)
## what - Update workflow (`.github/workflows/release.yaml`) to have permission to comment on PRwhy
- Add comment to PR when it is released