Skip to content

Conversation

@elemdisc
Copy link

@elemdisc elemdisc commented Dec 9, 2024

Docker Build Action for ARM64 + AMD64

For: #58

Pushes docker images on pull requests into master, changes to master, and on version tags.

Setup needed:

  • DOCKERHUB_USERNAME (repository action secret)
  • DOCKERHUB_TOKEN (repository action secret)
  • DOCKERHUB_IMAGENAME (repository variable)

There's a quirk with the v prefix when tagging in a release, so a Github tag/release for v1.2.3 creates five tags:

  • v1.2.3
  • 1.2.3
  • 1.2
  • 1
  • latest

docker/metadata-action#422

Docker Build Action for ARM64 + AMD64

Pushes docker images on pull requests into master, changes to master, and on version tags.

Setup needed is an action variable for the image name in Docker Hub, and action secrets for the Docker Hub username and token.

There's a quirk with the v prefix when tagging in a release:

docker/metadata-action#422
@elemdisc
Copy link
Author

elemdisc commented Dec 9, 2024

As an FYI I tried using the ARM64 image built by this on my Mac locally, but haven't done any other testing.

@elemdisc
Copy link
Author

elemdisc commented Mar 19, 2025

Works for me--I updated the pull request. I had to split the GHCR and Docker Hub image name variables in order to work with my account names in order to do a test release.

@hazen
Copy link

hazen commented May 15, 2025

@darklynx would be great to get this in so I can run the ARM version natively. Thanks!

@bgc-gustavo-vieira
Copy link

I would really appreciate this too

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.

4 participants