GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix Docker buildx action by denniskuijs · Pull Request #2706 · openremote/core

Conversation

@denniskuijs

@denniskuijs denniskuijs commented Apr 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

The install parameter which configures an alias for docker build was removed in version v3.12.0 of the docker/setup-buildx-action action
(Ref: docker/setup-buildx-action#455)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
denniskuijs and others added 4 commits April 22, 2026 15:51
@denniskuijs
Fix buildx command
401888f
@denniskuijs
Merge branch 'master' into fix/docker-buildx
bdfc7d7
@denniskuijs
remove install parameter
f77f42f
@denniskuijs
fix
3946c4e
@denniskuijs
denniskuijs marked this pull request as ready for review April 22, 2026 13:59
Copilot AI review requested due to automatic review settings April 22, 2026 13:59
@sonarqubecloud

sonarqubecloud Bot commented Apr 22, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI reviewed Apr 22, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI/CD workflow to accommodate docker/[email protected] where the docker build alias behavior changed/was removed.

Changes:

  • Replaces some docker build --push usages with docker buildx ... in the workflow-generated command strings.
  • Updates the deployment image build command to use docker buildx ....
  • Removes install: true from the buildx setup step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/ci_cd.yml Outdated
if [ -n "$MANAGER_TAGS" ] || [[ "$DEPLOYMENTS" == *"#ref"* ]] || [ -n "$TEST_UI_CMD" ]; then
if [ -n "$MANAGER_TAGS" ]; then
command="docker build --push --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 $MANAGER_TAGS $buildPath && docker build --build-arg GIT_COMMIT=$commitSha --platform ${PLATFORM:-linux/amd64} --load -t openremote/manager:$commitShaShort $buildPath"
command="docker buildx --push --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 $MANAGER_TAGS $buildPath && docker build --build-arg GIT_COMMIT=$commitSha --platform ${PLATFORM:-linux/amd64} --load -t openremote/manager:$commitShaShort $buildPath"

Copilot AI Apr 22, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker buildx requires a subcommand (e.g., build). As written, docker buildx --push ... will fail because --push is a flag for docker buildx build, not for the top-level docker buildx command. Also, the second chained command still uses docker build ... --load, but --load is a buildx-only flag; if the docker build alias was removed, this will also fail. Update both chained builds to use docker buildx build (with --push / --load as needed).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci_cd.yml Outdated
Comment on lines 507 to 509
command="docker buildx --push --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t ${{ steps.inputs-and-secrets.outputs.OR_AWS_DEVELOPERS_ACCOUNT_ID }}.dkr.ecr.eu-west-1.amazonaws.com/openremote/manager:SNAPSHOT-$commitShaShort $buildPath && docker build --build-arg GIT_COMMIT=$commitSha --platform ${PLATFORM:-linux/amd64} --load -t openremote/manager:$commitShaShort $buildPath"
else
command="docker build --build-arg GIT_COMMIT=$commitSha --platform ${PLATFORM:-linux/amd64} --load -t openremote/manager:$commitShaShort $buildPath && docker build --build-arg GIT_COMMIT=$commitSha --platform ${OTHER_PLATFORM:-linux/aarch64} -t openremote/manager:$commitShaShort $buildPath"

Copilot AI Apr 22, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue here: docker buildx --push ... is missing the build subcommand, and the chained docker build ... --load will fail if docker build is no longer aliased to buildx. Additionally, the non-snapshot branch below still uses docker build ... --load (and another docker build with --platform) which likely relied on that alias too. Consider switching all docker build invocations in this step that use buildx-only flags (--load / --push) to docker buildx build for consistency and to avoid runtime failures.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci_cd.yml Outdated

if [ -n "$DEPLOYMENTS" ]; then
command="docker build --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t openremote/deployment:$commitShaShort $buildPath"
command="docker buildx --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t openremote/deployment:$commitShaShort $buildPath"

Copilot AI Apr 22, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker buildx is missing the build subcommand here as well; docker buildx --build-arg ... will be rejected because flags are parsed on docker buildx build. Change this to docker buildx build .... Also verify the intended output: with buildx, a multi-platform build without --push or --load/--output won’t produce a locally tagged image, so if later steps expect openremote/deployment:$commitShaShort to exist, you’ll need --push or a single-platform --load/--output.

Suggested change
command="docker buildx --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t openremote/deployment:$commitShaShort $buildPath"
command="docker buildx build --build-arg GIT_COMMIT=$commitSha --platform linux/amd64,linux/aarch64 -t openremote/deployment:$commitShaShort $buildPath"

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.
@denniskuijs
Add BUILDX env variable
07e5f80
@denniskuijs
denniskuijs marked this pull request as draft April 22, 2026 14:14
@sonarqubecloud

sonarqubecloud Bot commented Apr 22, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@denniskuijs
denniskuijs marked this pull request as ready for review April 22, 2026 14:19
@denniskuijs
denniskuijs requested a review from wborn April 22, 2026 14:21
wborn
wborn approved these changes Apr 22, 2026
View reviewed changes
@wborn
wborn merged commit ac78022 into master Apr 22, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@wborn
wborn deleted the fix/docker-buildx branch April 22, 2026 15:26
@denniskuijs denniskuijs mentioned this pull request Apr 23, 2026
Fix Docker Buildx action #2707
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@wborn wborn wborn approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@denniskuijs @wborn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.