request-baskets icon indicating copy to clipboard operation
request-baskets copied to clipboard

Docker Action

Open elemdisc opened this issue 1 year ago • 4 comments

Docker Build Action for ARM64 + AMD64

For: https://github.com/darklynx/request-baskets/issues/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

https://github.com/docker/metadata-action/issues/422

elemdisc avatar Dec 09 '24 22:12 elemdisc

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

elemdisc avatar Dec 09 '24 22:12 elemdisc

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.

elemdisc avatar Mar 19 '25 22:03 elemdisc

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

hazen avatar May 15 '25 15:05 hazen

I would really appreciate this too

bgc-gustavo-vieira avatar Jul 08 '25 14:07 bgc-gustavo-vieira