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

Cannot build images in parallel using #3

Open
isarns opened this issue Nov 30, 2023 · 2 comments
Open

Cannot build images in parallel using #3

isarns opened this issue Nov 30, 2023 · 2 comments

Comments

@isarns
Copy link
Contributor

isarns commented Nov 30, 2023

Description

When attempting to build images in parallel using the append-buildx-action@v1, the process fails. The expected behavior is to have multiple images building concurrently to decrease the overall build time.

Steps to Reproduce

  1. Set up a GitHub Actions workflow with append-buildx-action@v1.
  2. Configure the workflow to build multiple images in parallel.
  3. Trigger the workflow.

Expected Behavior

The images should be built in parallel, minimizing the total build time.

Actual Behavior

The build process for images does not run in parallel. Instead, it causes a failure or conflict, as indicated in the attached screenshot
image
image

Workaround

As a temporary solution, I've configured the workflow to build images in sequence, which is successful but not optimal due to the increased build time.
image

@baschny
Copy link
Owner

baschny commented Nov 30, 2023

Maybe the problem is that both jobs are using the same "builder name"? Could you try to choose different names to see if this solves the issue?

      - name: "Set up Docker Buildx"
        id: builder-backend
        uses: docker/setup-buildx-action@v1

and

      - name: "Set up Docker Buildx"
        id: builder-frontend
        uses: docker/setup-buildx-action@v1

@isarns
Copy link
Contributor Author

isarns commented Dec 9, 2023

Sorry for the delay, tried it but it didn't help, same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants