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

Docker Action #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

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