Skip to content

Releases: cloudposse/github-action-docker-build-push

v3.1.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 20 Jul 17:06
fix: install jq 1.7.1 to support arm64 runners (#106) Igor Rodionov (@goruha) (#107) ## what * Bumps the pinned `jq` version installed by `dcarbone/install-jq-action@v3.2.0` from `1.6` to `1.7.1`. * Set default value `drive-opt` from `image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1` to `image=mirror.gcr.io/moby/buildkit:buildx-stable-1`

why

This action fails on arm64 GitHub-hosted / self-hosted runners with:

Cannot handle "ARM64" architecture for os "Linux"
Error: Process completed with exit code 1.

Root cause: dcarbone/install-jq-action@v3.2.0 routes jq 1.5/1.6 installs through scripts/unixish.sh, which only maps Linux binaries for 386/amd64. This is because jq 1.6 (published under stedolan/jq) never shipped a linux-arm64 release asset — arm64 support only arrived with jq 1.7 (published under jqlang/jq), which does publish a jq-linux-arm64 asset.

dcarbone/install-jq-action already added arm64 support for jq 1.7+ via scripts/unixish-17.sh — this action just needs to request a 1.7+ version to use that code path. 1.7.1 is used here (rather than plain 1.7) because it's the patch release fixing known regressions in the initial 1.7 release, and it matches install-jq-action's own default version input.

Resolves #68.

  • Solved docker startup too many requests problem

references

Jon Beilke (@jrbeilke) author

v3.0.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Mar 23:36
Enhance Docker image summary with structured inspect output Igor Rodionov (@goruha) (#98) ## what - Replace raw JSON metadata dump in step summary with a rich, structured markdown summary - Add new `summary` input (default `true`) to control step summary generation independently from `inspect` - Add new `inspect` output exposing the full `docker inspect` JSON - Change `metadata` output to use `docker/build-push-action` metadata directly instead of a separate shell step - Remove the old `Get Metadata` step entirely - Disable `inspect` in test workflows (`test-docker-build.yml`, `test-docker-build-multi-platform.yml`) - Control `DOCKER_BUILD_SUMMARY` env var based on `inspect` and `summary` inputs

why

  • The previous raw JSON summary was hard to read in GitHub Actions job summaries
  • The new format surfaces key image details at a glance: size, architecture, OS, license, tag, digest, revision, source, runtime config, env vars, labels, and layers — each in collapsible sections
  • Separating summary from inspect gives users finer control over what gets generated

references

v2.7.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Mar 23:07
7c31abf
Bump cloudposse/github-action-jq from 0.4.0 to 0.4.1 Igor Rodionov (@goruha) (#99) ## what - Bump `cloudposse/github-action-jq` from `0.4.0` to `0.4.1`

why

  • Pick up the latest patch release with bug fixes and improvements

references

chore(deps): update actions/checkout action to v6 @[renovate[bot]](https://github.com/apps/renovate) (#88) This PR contains the following updates:
Package Type Update Change
actions/checkout action major v5v6

Release Notes

actions/checkout (actions/checkout)

v6

Compare Source


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.

chore(deps): update docker/setup-qemu-action action to v4 @[renovate[bot]](https://github.com/apps/renovate) (#94) This PR contains the following updates:
Package Type Update Change
docker/setup-qemu-action action major v3v4

Release Notes

docker/setup-qemu-action (docker/setup-qemu-action)

v4

Compare Source


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.

v2.6.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Mar 12:28
d8afda8
chore(deps): update docker/setup-buildx-action action to v4 @[renovate[bot]](https://github.com/apps/renovate) (#95) This PR contains the following updates:
Package Type Update Change
docker/setup-buildx-action action major v3v4

Release Notes

docker/setup-buildx-action (docker/setup-buildx-action)

v4

Compare Source


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.

chore(deps): update docker/metadata-action action to v6 @[renovate[bot]](https://github.com/apps/renovate) (#97) This PR contains the following updates:
Package Type Update Change
docker/metadata-action action major v5v6

Release Notes

docker/metadata-action (docker/metadata-action)

v6

Compare Source


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.

v2.5.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Mar 12:17
5a1b613
chore(deps): update docker/login-action action to v4 @[renovate[bot]](https://github.com/apps/renovate) (#93) This PR contains the following updates:
Package Type Update Change
docker/login-action action major v3v4

Release Notes

docker/login-action (docker/login-action)

v4

Compare Source


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.

v2.4.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Mar 12:10
chore(deps): update docker/build-push-action action to v7 @[renovate[bot]](https://github.com/apps/renovate) (#96) This PR contains the following updates:
Package Type Update Change
docker/build-push-action action major v5v7

Release Notes

docker/build-push-action (docker/build-push-action)

v7

Compare Source

v6

Compare Source


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.

v2.3.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 24 Dec 11:09
1d99c39
Fix handling metadata with single quotes (#90) Igor Rodionov (@goruha) (#91) ## what * Change the way how docker build output metadata is processed to handle escape character

why

  • Metadata JSON from docker-build-push-action contains head/merge commit details including message which might include single quotes
  • get-metadata step wraps the JSON in single quotes causing the build step to break if merge commit contains a single quote character (e.g. as part of commit description):
Run metadata=$(echo '{
...
/home/runner/work/_temp/b76bb997-9a9b-4a18-ac9f-321762ea58ba.sh: line 79: syntax error near unexpected token `('
Error: Process completed with exit code 2.
# OR
/home/runner/_work/_temp/5912f8a7-4a6e-4f73-a4c5-b6730c3ebf58.sh: line 456: unexpected EOF while looking for matching `"'
Error: Process completed with exit code 2.
  • Simple way to reproduce the error locally:
metadata=$(echo '{ "message": "that's fine" }' | jq -c)
  • The native bash way to escape single quotes would be to replace ' with '', however, GHA provide toJSON method which automatically escape characters when used in ENV (reference below)

references

v2.2.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 19 Nov 18:50
99d5e1a
Update login condition for Docker action Igor Rodionov (@goruha) (#87) ## what * Update login condition for Docker action

why

  • Unable to push to ECR via role

references

v2.1.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 03 Nov 18:53
9483ce7
Update Docker actions and login condition Igor Rodionov (@goruha) (#84) ## what * Rollback Docker action to `v5` * Allow Docker login for ECR

why

  • The issue with Docker build and GitHub artifact API v4 is still there.
  • It used to request ECR auth with AWS credentials. But we want to relax this requirement.

references

v2.0.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 02 Nov 21:06
d73d1cf
chore(deps): update docker/build-push-action action to v6 @[renovate[bot]](https://github.com/apps/renovate) (#76) This PR contains the following updates:
Package Type Update Change
docker/build-push-action action major v5 -> v6

Release Notes

docker/build-push-action (docker/build-push-action)

v6

Compare Source


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.

chore(deps): update dcarbone/install-jq-action action to v3.2.0 @[renovate[bot]](https://github.com/apps/renovate) (#79) This PR contains the following updates:
Package Type Update Change
dcarbone/install-jq-action action minor v3.0.1 -> v3.2.0

Release Notes

dcarbone/install-jq-action (dcarbone/install-jq-action)

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: dcarbone/install-jq-action@v3.1.1...v3.2.0

v3.1.1

Compare Source

What's Changed

Full Changelog: dcarbone/install-jq-action@v3...v3.1.1

v3.1.0

Compare Source

What's Changed

Full Changelog: dcarbone/install-jq-action@v3...v3.1.0


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.

chore(deps): update actions/checkout action to v5 @[renovate[bot]](https://github.com/apps/renovate) (#82) This PR contains the following updates:
Package Type Update Change
actions/checkout action major v4 -> v5

Release Notes

actions/checkout (actions/checkout)

v5

Compare Source


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.

🤖 Automatic Updates

Replace Makefile with atmos.yaml Erik Osterman (Cloud Posse) (@osterman) (#83) ## what - Remove `Makefile` - Add `atmos.yaml`

why

  • Replace build-harness with atmos for readme genration

References

  • DEV-3229 Migrate from build-harness to atmos
Replace Makefile with atmos.yaml Erik Osterman (Cloud Posse) (@osterman) (#81) ## what - Remove `Makefile` - Add `atmos.yaml`

why

  • Replace build-harness with atmos for readme genration

References

  • DEV-3229 Migrate from build-harness to atmos