Skip to content

Conversation

@aschereT
Copy link

@aschereT aschereT commented May 9, 2025

Addresses #2657

Summary

A GitHub workflow to build and push images for both arm64 as well as amd64. I couldn't find where in the CI/CD files the current Docker builds are configured, so this is an example.

The workflow is based off https://github.com/sredevopsorg/multi-arch-docker-github-workflow

The only other change made is to compile node-prune in an early stage, rather than downloading it. This enables its use in arm64 architectures.

Checklist

  • The basics
    • I tested these changes manually in my local or dev environment
  • Tests
    • Added or updated
    • N/A
  • Event Tracking
    • I added event tracking and followed the event tracking guidelines
    • N/A
  • Error Reporting
    • I reported errors and followed the error reporting guidelines
    • N/A

Screenshots

image

image

Additional context

Add any other context about the pull request here. Remove this section if there is no additional context.

Where IS the current CI/CD for Docker image builds? Or is it done manually/privately?

@aschereT aschereT changed the title Build images for arm64 feat: build images for arm64 May 9, 2025
@aschereT aschereT changed the title feat: build images for arm64 feat: Build images for arm64 May 9, 2025
@aschereT aschereT changed the title feat: Build images for arm64 ci: Build images for arm64 May 9, 2025
fix: typo in uses

ci: build node-prune, enabling it on aarch64

ci: build as prod

Use multi-arch-docker-github-workflow

ci: fix on

ci: fix tag?

ci: lowercase

ci: fix lower

ci: hardcode image name, fix tags

ci: push latest, full sha with no prefix

ci: run on publish

ci: tag major too

ci: build on tag

ci: delete major

fix: update actions/cache
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

Successfully merging this pull request may close these issues.

1 participant