Docker Action
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
As an FYI I tried using the ARM64 image built by this on my Mac locally, but haven't done any other testing.
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.
@darklynx would be great to get this in so I can run the ARM version natively. Thanks!
I would really appreciate this too